Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - -zc treat leading * as comment http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 -Zc                 Treat leading * as comment
------------------------------------------------------------------------------
 Syntax
   -Zc

 Arguments
   None.

 Default
   Do not treat leading * characters as comment symbols.

 Description
   The -Zc switch instructs the compiler to treat any leading * character
   in a source line as a comment symbol, thus ignoring that line in
   compilation.

   The * character is a highly overloaded operator. Its use as the pointer
   deferentiation operator confronts with its role as a comment line
   indicator. By default the compiler always treats a * character in the
   proper context as a request to dereference the associated identifier.

   The -Zc option causes a * character positioned as the first non-space
   character in a line to be treated as a comment symbol. This behavior
   is consistent with the xBase dialects' syntax rules, and is provided
   for compatibility reasons.

   Note that using the -Zc option excludes the overall use of pointers.
   Specify -Zc only when compiling old style code.

 Example
   . Treat * characters at line beginnings as comment markers.
   
     force.exe -Zc test.prg
   
   . Disable interpreting the * character as a comment marker (override the
     effect of a -Zc switch in force.cfg).
   
     force.exe -Zc- test.prg

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson