[Gambas-user] Stiil problems with EVAL

Steven Lobbezoo steven at ...1652...
Mon Sep 3 13:42:54 CEST 2007


Hi,

I still have a problem with eval :

I have a module called Mglobal
In it is defined (amongst a lot of things)

PUBLIC U_No AS Integer
PUBLIC U_Nom AS String
PUBLIC U_Agency AS Integer
PUBLIC U_AgenNom AS String
PUBLIC U_AgenRep AS String

Now in some other module  i do :

  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"

After execution Rstr is empty !

Gambas 1.9.50

Steven







More information about the User mailing list