Hello Christof, I do not use structures and would not recommend using them. I have only mentioned a file that could satisfy the curiosity of Cam. In this regard I point to my example DynamicMatrixExample of Software farm.
Regards Gianluigi 2016-11-29 19:17 GMT+01:00 Christof Thalhofer <chri...@deganius.de>: > Am 29.11.2016 um 05:38 schrieb Cam Era: > > >> By the way, I strongly suggest not to use Struct, but normal objects. > >> Struct were mainly made to interface with C libraries. > > > > I'll do exactly that from now on. > > For object-oriented programming in Gambas a struct can be replaced with > a class. When I started Gambas programming I also made some structs for > the purpose of bringing a couple of variables together to define an > object. But in Gambas the right tool for that is a class. > > The class defines an object, you can create an array of a couple of such > objects and you can sort that array. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user