Using index to access objects

edited 2:10AM in FastScript
In Fastscript/FastReport can you use to an index variable to build up the name of an object and then use it to access the properties of that object?

For instance, say I have a lot of memo objects named T1 through T30. Can a Fastscript variable (say 'i') be used to reference objects like in the pseudo code below?

for i := 1 to 30 do
begin
T.Color := clSilver;
end;


Thanks!

Comments

  • edited 2:10AM
    No it can't. FS is actually not an interpreter - it's a compiler.

Leave a Comment