home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PROG / NAPAPI10.ZIP / NAPFLAGS.INC < prev    next >
Encoding:
Text File  |  1993-07-13  |  2.5 KB  |  73 lines

  1. {
  2.                               Naplps Interpreter
  3.                       Copyright (C) 1991-92 by John Beck
  4.                            See Licensing Agreement.
  5.  
  6. NAPFLAGS - Contains the compiler directives (CD's) for the different
  7.            unit versions of naplps to generate.
  8.  
  9. }
  10.  
  11. (*
  12.     Definition Expainations -
  13.  
  14.           FINAL  - enable this directive on when compiling the final
  15.                    version of your program.  This will increase the code
  16.                    speed and reduce the size of the program.
  17.  
  18.           NAP286 - Turns on 80286 code generation.
  19.  
  20.           NAP486 - Turns on 80286 and coporcessor code generation.
  21. *)
  22.  
  23.  
  24. { *** Definition Area *** }
  25.  
  26. { $ DEFINE FINAL }
  27. { $ DEFINE NAP286}
  28. { $ DEFINE NAP486}
  29.  
  30. { *** Set Default Directive States *** }
  31.  
  32. { CD  :   Function              : Comments           }
  33.  
  34. {$A+}   { Word Allign Data      : speeds up memory   }
  35. {$B-}   { Complete Boolean Eval : speeds up code     }
  36. {$D+}   { Debug Information     : for debugging      }
  37. {$E+}   { 80x87 Emulation       : flexible code      }
  38. {$F+}   { Force Far Calls       : recommended on     }
  39. {$G-}   { 286 Code Generation   : speeds up code     }
  40. {$I+}   { IO Checking           : recommended on     }
  41. {$L+}   { Local Symbol Info     : for debugging      }
  42. {$N-}   { Coprocessor           : speeds up code     }
  43. {$O-}   { Overlays              : program optional   }
  44. {$P+}   { Open Parameters       : flexible code      }
  45. {$Q+}   { Overflow Checking     : for debugging      }
  46. {$R+}   { Range Checking        : for debugging      }
  47. {$S+}   { Stack Checking        : for debugging      }
  48. {$T-}   { Pointer Checking      : program optional   }
  49. {$V+}   { Strict Str Checking   : for debugging      }
  50. {$X+}   { Extended Syntax       : recommened on      }
  51. {$Y+}   { Symbol Reference Info : for debugging      }
  52.  
  53. { *** Set Conditional Directives *** }
  54.  
  55. {$IFDEF NAP286}
  56.    {$G+}            (* Set 80286 Code Generation On *)
  57. {$ENDIF}
  58.  
  59. {$IFDEF NAP486}
  60.    {$G+}            (* Set 80286 Code Generation On *)
  61.    {$N+}            (* Set Coprocessor Code On      *)
  62. {$ENDIF}
  63.  
  64. {$IFDEF FINAL}
  65.    {$S-}            (* Set Stack Checking Off *)
  66.    {$R-}            (* Set Range Checking Off *)
  67.    {$L-}            (* Set Symbol Info Off    *)
  68.    {$D-}            (* Set Debug Info Off     *)
  69.    {$Q-}            (* Set Overflow Check Off *)
  70.    {$Y-}            (* Set Symbol Ref. Off    *)
  71.    {$V-}            (* Set Str Checking Off   *)
  72. {$ENDIF}
  73.