[Gambas-user] Stiil problems with EVAL
ron
ronstk at ...239...
Mon Sep 3 19:32:02 CEST 2007
On Monday 03 September 2007 13:42, Steven Lobbezoo wrote:
> CASE "li" ' Literal program variable
> Rstr = Eval(Tag[1])
> Where Tag[] is :
>
> Tag[0] = "li"
> Tag[1] = "Mglobal.U_nom"
>
> in Mglobal.U_nom is the string "Steven"
>
uhmm
Tag[0] = "li" <-- is string
Tag[1] = "Mglobal.U_nom" <-- is probably string
Assume you put in object.TAG a string array, then Tag[1] is a string too.
More information about the User
mailing list