PDA

View Full Version : Variable Names...On the Fly



CHRIS REID
06-24-05, 01:21 PM
Is it possible to create the names of Variable on the fly and use them.

Like so.
[VarDef, var0, :D]
[VarDef, var1, :rolleyes:]
[VarDef, var2, :p]

[VarSet, i, 0]
[Loop, 3,
[Note, [StrMerge, "var", [Var, i]]]
[VarInc, i]
]

I have already tried this and it doesn't work.
I have moved on to create memory and just increment through it, I was just wondering if anyone has done this yet.

Pixolator
06-24-05, 02:42 PM
Hi:)

The following example may be of help to you...

[VarDef,manyVars(3), "" ]
[VarSet,manyVars(0), :D ]
[VarSet,manyVars(1), :rolleyes: ]
[VarSet,manyVars(2), :p ]
[Loop, 3, [Note,manyVars(index)],index]

-Pixolator

marcus_civis
06-24-05, 03:23 PM
I sincerely hope that in the next update Notes will display smilies! :D

CHRIS REID
06-24-05, 03:55 PM
Hi:)

The following example may be of help to you...

[VarDef,manyVars(3), "" ]
[VarSet,manyVars(0), :D ]
[VarSet,manyVars(1), :rolleyes: ]
[VarSet,manyVars(2), :p ]
[Loop, 3, [Note,manyVars(index)],index]

-Pixolator What is this Fancy Stuff ???
What do we call this ,,,, besides "Definately Of Help To Me" ?

Thanks Pix

Chris Reid