[Gambas-user] Re: casting or changing datatype.

Rohnny Stormo rohnny at ...1248...
Sat Jan 14 11:36:18 CET 2006


Hi.

Think scripting or javascript has a variant of this if 'm not wrong.  
Looks like he is thinking of something like this.

Public Sub SomeSub(ItemsToUse as string)
    [ItemsToUse].Text ="Hello"  
end sub

SomeSub("TextBox1")
SomeSub("TextBox2")

This is a small example, but in larger scale it could be usefull, 
special when makeing classes.

Would be nice thow if it could be done.

Regards Rohnny





More information about the User mailing list