Re: How to split a project in multiple files

"Mildred Ki'Lya" <[email protected]> Fri, 9 Dec 2011 09:54:01 +0100
Newsgroups gmane.comp.lang.io
Message-ID <CAHU8KxgV+hEvrVn0EjJokfE4BqgODKx6Y_Uje7-wYMmaKeoh4g@mail.gmail.com>
On 8 December 2011 19:40, gatesphere <[email protected]> wrote:

> **
>
>
> Within your DBus class, you should make a slot called Client, which loads
> your Client.io.
>
> DBus := Object clone do(
>    // ...
>   Client := doFile("Client.io")
> )
>
> ... on second thought, this can be shortened to the following:
>
> DBus := Object clone do(
>   // ...
>   doFile("Client.io")
> )
>


Thank you, it does work.

With the exception that I have to use doRelativeFile() instead of doFile().

There is a slight problem though, if I use the DBus object inside
Client.io, I think I get an infinite recursion because the importer tried
to re-import DBus.io, which calls Client.io again.

Mildred