Re: confusion about include
- Posted by ne1uno Aug 07, 2010
- 1351 views
Jerry_Story said...
Now it's different:
-- main file include GtkEngine.e include myfile1.e -- GtkEngine.e must be included in each of these files. include myfile2.e include myfile3.e
Is there a way to do 'include' in Euphoria 4.0 that works the same way as 'include' in Euphoria 3.1?
guess I should have looked up export include in the docs. can't seem to find it. export include GtkEngine.e probably would have worked if export include ever existed.
if all the routines and varbs in GtkEngine.e are marked export, there is no choice but to have include GtkEngine.e in myfile1.e, myfile2.e, myfile3.e
the advantage is, these files will be able to be tested individualy for syntax and resolve symbol errors if nothing else. by eui -TEST file1.e