[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: External functions -Structure arguments
[Thread Prev] | [Thread Next]
- Subject: Re: External functions -Structure arguments
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Mon, 18 Mar 2024 00:15:06 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 14/03/2024 à 05:11, T Lee Davidson a écrit :
Ref. https://gambaswiki.org/wiki/doc/extern"If the function returns a struct ABC *, then you mimic the structure ABC declaration somewhere, and you declare the return value as Struct ABC."When I do that as, for example: "Extern get_block_info(id As Integer) As Struct BlockInfo" I get a "Unexpected Struct" error on compile. If I leave out "Struct", the compiler does not complain. Is this documentation in need of correction?
Yes, I think you are right. I remove the "Struct" word. -- Benoît Minisini.
External functions -Structure arguments | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |