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 - #output display message during compilation http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 #output             Display message during compilation
------------------------------------------------------------------------------
 Syntax
   #output [ <text> ]

 Arguments
   <text> is the text to display.

 Description
   The #output directive causes the compiler to output the text
   argument when the line containing it is reached during compilation.
   The #output directive is helpful in debugging deeply nested conditional
   compilation blocks, and for other display purposes while compilation is
   in process.

 Example
   #define EXAMPLE_DIRECTIV
   #include example.hdr

   #output Compiling module main.prg of application DataTrek
   
   #define VER_DEBUG
   
   proc Test_856
   ? "Hello world"
   #ifdef VER_DEBUG
      #output Debugging code included // displayed during compilation
      ? coreleft()                    // displayed at runtime
   #endif
   endproc

   proc main
   Test_856()
   endproc

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