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 - -we<n> set error limit http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 -We<n>              Set error limit
------------------------------------------------------------------------------
 Syntax
   -We<errornum>

 Arguments
   <errornum> is the number of error messages to display before the compiler
   terminates.

 Default
   100.

 Description
   The -We switch defines the number of errors which will be displayed
   before the compiler quits and returns to DOS.

   This option lets you define after how many compiler errors the compilation
   progress should be terminated. Very often, one error in a source program
   causes many subsequent compiler errors, e.g. a misspelled variable name
   in a vardef block also causes an undefined symbol error, whenever the
   variable is referenced in the module.

   Instead of watching all the error messages scroll off the screen, you
   might consider to instruct the compiler to "give up" after 3 errors,
   because you need to fix the errors anyway.

   Note that some fatal errors still cause the compiler to stop
   immediately even when the error limit has not been reached yet.

 Example
   . Display only a number of error messages that conveniently fits on
     the screen, then stop compilation.
   
     force.exe -We10 test.prg

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