Difference between revisions of "MC-Basic:PROGRAMNAME"

From SoftMC-Wiki
Jump to: navigation, search
Line 35: Line 35:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:PROGRAM ... END PROGRAM|PROGRAM ... END PROGRAM]]
 
* [[MC-Basic:PROGRAM ... END PROGRAM|PROGRAM ... END PROGRAM]]
 +
* [[MC-Basic:task.MAINFILENAME|MAINFILENAME]]
  
 
[[Category:MC-Basic:Task Control|PROGRAMNAME]]
 
[[Category:MC-Basic:Task Control|PROGRAMNAME]]
 
}}
 
}}

Revision as of 14:21, 9 September 2015

This query returns a string containing the name of the querying task. ProgramName can only be used for the querying task, and cannot refer to another task.

Syntax

?PROGRAMNAME

Availability

Version 4.0.15 and above.

Type

String

Range

.

Default

.

Scope

Configuration, Task or Terminal

Limitations

Read Only. Task must be loaded in memory.

Examples

? ProgramName

See Also