[Gambas-user] _unknown method with properties
Benoît Minisini
gambas at ...1...
Wed Jun 29 16:17:00 CEST 2011
> Benoit (and all),
>
> Thank you very much for your reply. I installed Gambas3 and it does,
> indeed, handle properties properly with the _unknown method. I shall shift
> my development to Gambas3 in the hopes that it will be released before my
> project must be released. :-)
>
> As to my other question, I have a library that I need to use with Gambas
> that has global external variables that I must access. I don't see any way
> to declare a variable as external, only subroutines. Does such a facility
> exist in Gambas 3. What I need is something like:
>
> EXTERN intReturnCode AS Integer IN "mylibrary"
>
> Thanks again for your help!
That syntax has not been implemented yet (maybe in a future version), so you
have to use the following method instead:
System.GetExternSymbol("library", "symbol")
Regards,
--
Benoît Minisini
More information about the User
mailing list