[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Structure definitions can't be shared between modules?
[Thread Prev] | [Thread Next]
- Subject: Structure definitions can't be shared between modules?
- From: T Lee Davidson <t.lee.davidson@xxxxxxxxx>
- Date: Thu, 28 Mar 2024 23:01:57 -0400
- To: GAMBAS user mailing list <user@xxxxxxxxxxxxxxxxxxxxxx>
Let's say I have a Main.module and a Minor.module. I have a structure definition in Minor.If I try to declare a variable in Main using Minor.StructName as it's type, I get a "Unexpected '.'" error. So, structures must be declared Public but yet they're not public. ??
Is it possible to share structure definitions, or do I need to define the structure in both modules? -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Re: Structure definitions can't be shared between modules? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |