jamesp0tter
Programmer
i have:
N TShape objects named 'shape1'...'shape2'...'shapeN'
a string list with strings '1'...'2'...'N'
where N is an unknown number
can i access the TShape object named
*figure* 'shape' + Str[N] */figure* ?
example:
i know in PHP we can use {'shape'.string}, if this helps clarify the problem to anyone into php![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
tks in advance
jamesp0tter,
jamespotter@netcabo.pt
p.s.: sorry for my (sometimes) bad english![Stick out tongue :p :p](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
N TShape objects named 'shape1'...'shape2'...'shapeN'
a string list with strings '1'...'2'...'N'
where N is an unknown number
can i access the TShape object named
*figure* 'shape' + Str[N] */figure* ?
example:
Code:
TShape -> 'shape7'
String -> 7
what_i_want := 'shape' + 7;
---
shape7.do_WHAT_i_WANT
i know in PHP we can use {'shape'.string}, if this helps clarify the problem to anyone into php
tks in advance
jamesp0tter,
jamespotter@netcabo.pt
p.s.: sorry for my (sometimes) bad english