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 - __line__ source file line predefined macro http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 __LINE__            Source file line predefined macro
------------------------------------------------------------------------------
 Syntax
   __LINE__

 Arguments
   None.

 Description
   __LINE__ is a predefined global numeric constant whose value contains
   the source line number where the reference to the constant is placed.

 Example
   #define EXAMPLE_CONSTANT
   #include example.hdr

   proc Test_LINE__
   ? "Line ", __LINE__
   ? "Line ", __LINE__
   endproc

   proc main
   Test_LINE__()
   endproc

See Also: __FILE__

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