Thread
:
2.08 and Incompatible Battle Reports
View Single Post
#
33
February 26th, 2004, 11:37 AM
General Tacticus
Sergeant
Join Date: Dec 2003
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 2.08 and Incompatible Battle Reports
Quote:
Originally posted by Arryn:
EDIT: caveat: it actually is possible to force the compilers I've used into screwing this up. It involves tweaking settings so the compiler re-orders the statements so that it reads ...
b = a = 2d6
Which, of course, looks the same as your example to anyone who's not a gamer or mathematician. We know that 2 calls to "d6" do not necessarily return the same answer.
And you can also make them believe that '<' means '>', or for that matter that "=" in the code means 'print("I'm a genius")'
. But we are here to help compilers do the right thing, not to screw their settings and help them be total idiots
__________________
Read my Mictlan AAR :
A tale of Fire and Blood
(in progress)
General Tacticus
View Public Profile
Send a private message to General Tacticus
Find all posts by General Tacticus