Jump to content

The max value of a number ?


Recommended Posts

hi all, i met a problem when i was running the scripts below:

Script 1

Dim $CSSN[4],$NUM

$CSSN[1] = 9268017928447
$CSSN[2] = 9301433546382
$CSSN[3] = 9309282185282


$NUM=$CSSN[Random(1,3)]

MsgBox(4096,"Test", $NUM&"")

oÝ÷ Ù'+vëôé«­¢+Ø)¥´ÀÌØí

-elÑt°ÀÌØí9U4((ÀÌØí

-elÅtôÄÀÄÀààäÈÜÜÜØÀÄÈÌÜÀÀäÀÀ(ÀÌØí

-elÉtôÄÀÈÈÄÈØÔÈÈØÀäÄààÌÀÀÈÔÌ(ÀÌØí

-elÍtôÄÀÌÀàÜÔÈÌÌÐÜØÄÄÜàäÔÀÜÀ((ÀÌØí9U4ôÀÌØí

-emI¹½´ Ä°Ì¥t()5Í   ½à ÐÀäØ°ÅÕ½ÐíQÍÐÅÕ½Ðì°ÀÌØí9U4µÀìÅÕ½ÐìÅÕ½Ðì¤

the script 1 can run normally and show the right value in the msg box, but the script 2 can't. is the value of $NUM is too large? thanks

Link to comment
Share on other sites

Yes, it is. Try this as a workaround:

Dim $CCKEY[4],$NUM

$CCKEY[1] = "1010889277760123700900"
$CCKEY[2] = "1022126522609188300253"
$CCKEY[3] = "1030875233476117895070"

$NUM=$CCKEY[Random(1,3)]

MsgBox(4096,"Test", $NUM&"")

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...