__Cmdline__
 
Intrinsic define (macro value) set by the compiler

Syntax

__CMDLINE__

Description

__CMDLINE__ is a string literal containing the option text from accepted source #cmdline directives in the current compilation. The directive text is joined in source order with one space between directives.

It reflects options supplied by source directives, not the arguments used to launch fbc. It is an empty string when no non-empty source #cmdline options have been accepted.

Version

  • Since fbc 1.20.4

Example

#cmdline "-v"
#cmdline "-s gui"

#print __CMDLINE__ ' -v -s gui


See also