Include nest

new topic     » topic index » view thread      » older message » newer message

Hi!

Since I use euphoria2.2 I get this mesage:

c:\EUPHORIA\include\file.e:49
LINUX has not been declared
        if platform()=LINUX then
                      ^
Warning: Built-in platform() redifined
-------------------- I do'nt understand why!, becose

in pgm:

include Win32lib.ew             --0.45r
----- in Win32lib.ew:
         --
         include file.e
         --
--------------in file.e:
              --
              include misc.e
              --
              if platform()=LINUX then
              --
-----------------------------in misc.e:
        global constant DOS32 = 1,  -- ex.exe
                        WIN32 = 2,   -- exw.exe
                        LINUX = 3     -- exu    --< it is declared!
---------------------------------------
In Refman.doc in  2.6.1 section:
An included file can include other files. In fact, you can "nest"
included files up to 10 levels deep.
----------------------------------------

Thanks
Attila Kondor

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu