Re: How to split a project in multiple files
Steve Dekorte <[email protected]> Thu, 8 Dec 2011 11:00:37 -0800
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
On 2011-12-08 Thu, at 07:47 AM, Mildred Ki'Lya wrote: > Until now, I was using the auto importer feature. That is, if you request an object name to the lobby, it will import the file containing it. That is, if I request "Lobby Client", the file Client.io will be imported. The problem is that if I request "Lobby DBus Client", the file DBus.io will be imported and not Client.io which now contains the sub-object. > > Do you have an idea how I could structure my objects and files so it would work? In your Client.io file, instead of: Client := Object clone do( ... ) try doing: DBus Client := Object clone do( ... ) Or to specify the exact location, you could do something like: Lobby Protos Addons DBus Client := Object clone do( ... )