[Gambas-bugtracker] Bug #2745: Provide a way to know if a class or object is in fact a structure

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu May 11 01:33:15 CEST 2023


Comment #1 by Benoît MINISINI:

> Gambas seems to write gambas objects and structures as object in different ways.

And so?

> To process objects correctly in an application, the application may need to know how the object will be written.

I don't see a good reason to make a difference between an object that is a structure and an object that is not. Why do you need that?

> It appears internally gambas knows if an object is a structure has a class that is auto created.
> Can an object property be added that identifies if an object is in fact a structure, or a class property that can do the same?
> Or is there already a way to do this in a gambas application.

I don't understand what you say with these three lines.

More information about the Bugtracker mailing list