CrazyU Posted November 21, 2006 Share Posted November 21, 2006 Script1$NUM = 9268017928447MsgBox(4096,"Test", $NUM&"")Script2$NUM = 1030875233476117895070MsgBox(4096,"Test", $NUM&"")Script101.BMPScript202.BMPI know $NUM = 1030875233476117895070 Can obtain correct,Why but is this? Link to comment Share on other sites More sharing options...
Valuater Posted November 21, 2006 Share Posted November 21, 2006 confirmed this does not work, creates a negative number $NUM = 10308752334761178950 ;70 MsgBox(0,"Test", $NUM) 8) Link to comment Share on other sites More sharing options...
Somerset Posted November 21, 2006 Share Posted November 21, 2006 oooo, even weirder... check this out...$NumbersHaveLimitations_LookItUpInTheHelpFile = 234657625376538162312391239712894MsgBox(4096,"Test", $NumbersHaveLimitations_LookItUpInTheHelpFile&"")confirmed... Link to comment Share on other sites More sharing options...
/dev/null Posted November 21, 2006 Share Posted November 21, 2006 (edited) I know $NUM = 1030875233476117895070 Can obtain correct,Why but is this?because in AutoIT numbers are "stored" as a 64-Bit signed integer. Thus the positive value range goes from 0 - 2^63 - 1 (which is 9223372036854775807). So, your number was simply too large, which led to an "overflow" (not really an overflow, but I don't know a better word).See help file: FAQ - Nr. 15 - Current limits ....CheersKurt Edited November 21, 2006 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now