Some questions:
1) Are there any preprocessor commands like IF THEN ELSE to avoid including files multiple times, i.e.
Code: Select all
IF not defined(MYINCLUDE-CODE-A)
@INCLUDE MYINCLUDE-CODE-A
ENDIF
2) How do i have to write @INCLUDE-paths and paths to recources (like txt-files) which have to be loaded dynamically, such that these files can be found on all supported operating systems?
For example, on Windows, you have to use backslash "\" while on AmigaOS and MacOS, you have to use slash "/" to navigate downward in the directory structure.
More important, on AmigaOS you use slash "/", on MacOS and Windows doulbe dots ".." to navigate upwards.
So what do I have to do in order to make sure, everything works on all systems?
Thanks, Tom