[Gambas-user] Pointer or something

Benoît Minisini gambas at ...1...
Sun Oct 4 12:33:35 CEST 2015


Le 04/10/2015 12:19, Moviga Technologies a écrit :
> Nice :)
>
> Is there any place in the wiki that explains why this is so?
>

What do you think it could be otherwise?

Note that internally the structure Elements[i] is transformed into a 
temporary object pointed to the real data so that you can use the syntax 
'Element[i].XXX'.

In other words, unless you talk to a C shared-library through the Extern 
keyword, you should not use structures.

-- 
Benoît Minisini




More information about the User mailing list