You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not an issue, but some useful magic: The command "I WANT TO ASK YOU A BUNCH OF QUESTIONS AND I WANT TO HAVE THEM ANSWERED IMMEDIATELY" parses input to a 32 bit integer, not a 16 bit as described in the wiki. Moreover, performing operations on values created by parsing can be used to generate new 32 bit integers.
That is, if you were to parse 100000 as a value Val, define a new value Val2, set Val2 equal to Val * 2, and then print Val2, the value printed would be 200000, whereas simply defining a new value Val3 as 200000 and then printing Val3 will result in an integer overflow (as expected) and will print 3392. (Example)
The text was updated successfully, but these errors were encountered:
jsimonian
changed the title
ParseError parses to 32-bit, not 16
ReadInteger parses to 32-bit, not 16
Aug 13, 2015
Not an issue, but some useful magic: The command "I WANT TO ASK YOU A BUNCH OF QUESTIONS AND I WANT TO HAVE THEM ANSWERED IMMEDIATELY" parses input to a 32 bit integer, not a 16 bit as described in the wiki. Moreover, performing operations on values created by parsing can be used to generate new 32 bit integers.
That is, if you were to parse 100000 as a value Val, define a new value Val2, set Val2 equal to Val * 2, and then print Val2, the value printed would be 200000, whereas simply defining a new value Val3 as 200000 and then printing Val3 will result in an integer overflow (as expected) and will print 3392. (Example)
The text was updated successfully, but these errors were encountered: