Difference between revisions of "MC-Basic:PROGRAMNAME"
(Added reference to MC-Basic:SCOPE) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:PROGRAMNAME}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 35: | Line 36: | ||
|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]] | ||
+ | * [[MC-Basic:SCOPE|SCOPE]] | ||
− | [[Category | + | [[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