[Gambas-user] Arrays of Structs

Gianluigi bagonergi at ...626...
Tue Nov 29 11:37:12 CET 2016


Out of curiosity you may have a look here [0], and more precisely to
MyStruct-DB.

Regards
Gianluigi
[0]
http://gambas.8142.n7.nabble.com/Random-access-files-with-fixed-length-string-td50880.html

2016-11-29 5:38 GMT+01:00 Cam Era <cybercamera at ...626...>:

> On Tue, Nov 29, 2016 at 3:11 PM, Benoît Minisini <
> gambas at ...1...> wrote:
>
> > ...
> > --> This creates an inner array of 50 MapObject NULL references.
> >
> > Try that: MapObjects[50] As Struct MapObject
> >
> > By the way, I strongly suggest not to use Struct, but normal objects.
> > Struct were mainly made to interface with C libraries.
> >
> > Regards,
> >
>
> Benoît,
>
> I'll do exactly that from now on.
>
> Thanks again.
>
>
> -- Cam
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list