Topic awaiting preservation: The var Statement (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
posted 10-16-2005 19:50
Is there any practical limit to the number of variables which can be declared using a single var statement? For instance if I have a script with 50 global variables is it more efficient to declare them all in a single var statement or to break it up into say 10 variables per statement? Readability isn't a factor btw. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-16-2005 20:08 |
Bipolar (III) Inmate From: |
posted 10-16-2005 21:43
Thanks. I just used 50 as an example. My application has 22 global variables, four of which are arrays. I usually put my strings into arrays. |