home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- * * 09/92 DIRECTIV.PRG *
- *****************************************************************
- * * Author's Name: Jeb Long *
- * * *
- * * Description: *
- * * This program illustrates the use of compiler directives *
- * * *
- *****************************************************************
- #define _ADDX (X+3)
- x=3
- ? x*_ADDX
- #IF "MAC"$upper(version())
- ? "This is mac"
- #elif "WINDOWS" $ upper(version())
- ? "This is window"
- #ELSE
- ? "This is DOS"
- #ENDIF
- #define m _mac && hello
- #define w _windows
- ? m,w