Difference between revisions of "MC-Basic:PROGRAMNAME"
(Added reference to MC-Basic:SCOPE) |
|||
Line 1: | Line 1: | ||
− | {{Languages|MC-Basic:PROGRAMNAME}} | + | {{Languages|MC-Basic:PROGRAMNAME}} |
− | |||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 38: | Line 37: | ||
* [[MC-Basic:PROGRAM ... END PROGRAM|PROGRAM ... END PROGRAM]] | * [[MC-Basic:PROGRAM ... END PROGRAM|PROGRAM ... END PROGRAM]] | ||
* [[MC-Basic:task.MAINFILENAME|MAINFILENAME]] | * [[MC-Basic:task.MAINFILENAME|MAINFILENAME]] | ||
+ | * [[MC-Basic:SCOPE|SCOPE]] | ||
[[Category:MC-Basic:Task Control|PROGRAMNAME]] | [[Category:MC-Basic:Task Control|PROGRAMNAME]] | ||
}} | }} |
Latest revision as of 08:16, 11 September 2023
Language: | English • 中文(简体) |
---|
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