[Gambas-user] casting or changing datatype.

johnf jfabiani at ...1109...
Sat Jan 14 03:10:09 CET 2006


Hi,
I wonder if it is possible to pass a string to a method and have the string 
used to for the name of a different datatype.

dim passStr As String

passStr = "custData"
myresult(passStr)

public sub myResult( thestr as String) as Result

dim thestr as Result

return Result
end 

John




More information about the User mailing list