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 > > Yes of course. Example: class Person
Public FirstName as String LastName as String BirthDate as Date Father as Person Mother as Person ----- DIM Peter as NEW Person DIM Village as Object[] Village.Add(Peter) ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user