Jump to content
Sign in to follow this  
-TS-

Two Quick Questions

Recommended Posts

-TS-

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
jpm

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
-TS-

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

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  

×