Hey gang,

Anybody know if I can concatenate variable names like strings? I have a
large number of variables (ball1, ball2, ball3 etc) and am trying to
optimise my code. I can set a temp variable to a number (eg x=1, x=2 etc)
and want to create the 1st variable from this.

eg

(ball&x)

to get ball1, ball2, ball3 etc, depending on the value of x. At the moment
Director is either recognising a string or an unknown variable......



Leon McComish
Web Developer
email: [EMAIL PROTECTED]

Get the best free games on the web at

www.freeloader.com

freeloader.com is a division of
Pure Entertainment Games PLC
131-151 Great Titchfield Street
London W1P 8AE
tel:     +44 (0)207 663 3900
fax:     +44 (0)207 663 3901





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to