Sign in to follow this  
Followers 0
-TS-

Two Quick Questions

5 posts in this topic

Can (can how) could i use a $var inside a $var?

$number$x

DOnt think its posable, but hey worth knoing. :huh2:

And how many dif $vars can we use in the newest version, i know the earlyer beta version could only have 255 :D (hexed 2 bit code)...?

Share this post


Link to post
Share on other sites



Can (can how) could i use a $var inside a $var?

$number$x

DOnt think its posable, but hey worth knoing. :)

And how many dif $vars can we use in the newest version, i know the earlyer beta version could only have 255 :D  (hexed 2 bit code)...?

no,

But if your concern is to have an array just use $number[$x]

I you want to get the content of a variable whose name is $number$x use eval($number & $x)

:huh2:

Share this post


Link to post
Share on other sites

Im just lazy and want to cut down all the repeater lines in my scrpit. :D

$x = 1
Do
$Number$x(or what ever) = IniRead("SCN Pick em Quick Numberlog and Gamelog.ini", "Number Logger", $x & " been called", 10)
until $x = 1000

DO you know how many $vars we can have in one script?

Share this post


Link to post
Share on other sites

DO you know how many $vars we can have in one script?

From the help file FAQ #15:

Arrays: 64 dimensions and/or a total of 16 million elements

Maximum number of variables in use at one time: 1024


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

Thx.

Share this post


Link to post
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
Sign in to follow this  
Followers 0