[Gambas-user] define data-variable as record

Jeff jeff at ...2103...
Sat Apr 25 13:51:00 CEST 2009


Same as the other answers - define a class. It's a good habit to get
into to write accessor methods (set and get) or use properties rather
than public variables.

On Sat, 2009-04-25 at 01:55 -0700, juelin wrote:
> hello,
> it is possible to define a record into gambas?
> thats mean a variable with different datatypes
> for example:
> type recorda as record
>    a as intger
>    b as string
>    c[99] as float
> endtype 
> dim variablename as recorda
> 
> kind regards
> Jürgen
> 





More information about the User mailing list