home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************/
- /* */
- /* Demo of how to use #include and other #compiler directives */
- /* from within SALT script files. */
- /* */
- /* Copyright 1995 deltaComm Development, Inc. */
- /* */
- /****************************************************************/
-
- #compileto "demo#.slc" // Set compile destination
- #debugon // Activate debigging
- #define testing
-
- main()
- {
-
- #ifndef testing // Test if 'Testing' defined
- #includedir "c:\ver1" // Set include directory
- #else
- #includedir "c:\ver2"
- #endif // Conclude the 'if' sequence
-
- #ifdef saltII
- #include "thatproc.slt" // Include a file
- #endif
-
- // The rest of the script goes here
-
- #undef testing // Undefine 'testing'
- #debugoff // Deactivate debugging
- }
-
-