Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

   __FILE__

 This is not really a system variable, but rather it is a macro which
 CS.EXE will replace by a text string containing the filename of the
 file which is being compiled. This will be done while CS is compiling
 the script file, so TELIX.EXE will never know anything about this and
 the value by which __FILE__ is replaced can only be changed by changing
 the name of the file and recompiling.

   Example:

      printsc ( "This is file " );
      printsc ( __FILE__ );
      prints ( " and line number " );
      printn ( __LINE__ );
      printsc ( ", compiled on " );
      printsc ( __DATE__ );
      prints ( " at " );
      printn ( __TIME__ );

See Also: __DATE__ __LINE__ __TIME__

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