[Gambas-user] use a string as a var
Doriano Blengino
doriano.blengino at ...1909...
Mon Nov 16 12:35:05 CET 2009
You can also look at the EVAL function (only in gambas3 perhaps?) - more
general (and more slow).
Regards.
> do you nean :
>
> mystr=Object.Call(Class1, class1Member)
>
> ??
>
> 2009/11/15 Jean-Yves F. Barbier <12ukwn at ...626...>:
>
>> Hi,
>>
>> I'm building a string and I'd like to use this string as a var,
>> how could I do that?
>>
>> myclass = class1
>> mystr = class1 & "." & class1member
>> res = mystr ' PB: copy 'mystr' into 'res' instead of getting result
>>
>> --
>> BOFH excuse #51:
>> Cosmic ray particles crashed through the hard disk platter
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list