2020-02-15 20:01:48 +00:00
|
|
|
$HL,1$$WW,0$#define __DATE__ #exe{StreamPrint("\"%D\"",Now);}
|
|
|
|
#define __TIME__ #exe{StreamPrint("\"%T\"",Now);}
|
2020-02-16 01:19:05 +00:00
|
|
|
#define __LINE__ #exe{StreamPrint("%d",Fs->last_cc->lex_include_stack->line_num);}
|
|
|
|
#define __CMD_LINE__ #exe{StreamPrint("%d",Fs->last_cc->flags&CCF_CMD_LINE && Fs->last_cc->lex_include_stack->depth<1);}
|
|
|
|
#define __FILE__ #exe{StreamPrint("\"%s\"",Fs->last_cc->lex_include_stack->full_name);}
|
2020-02-15 20:01:48 +00:00
|
|
|
#define __DIR__ #exe{StreamDir;}
|
|
|
|
|
2020-02-16 04:57:03 +00:00
|
|
|
See $LK,"::/Demo/Directives.CC"$.$HL,0$$WW,1$
|