Difference between revisions of "MC-Basic:SCOPE"
m (Miborich moved page Axystems:MC-Basic:SCOPE to MC-Basic:SCOPE: Global renaming of Axystems: namespace into (Main):) |
|||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:SCOPE}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= |
Revision as of 02:58, 28 April 2017
Language: | English • 中文(简体) |
---|
This query returns a current scope : PROGRAM of Function/Subroutine Name as a string.
Syntax
?Scope
Availability
from 0.4.0.22
Type
String
Scope
Task
Limitations
Read Only .
Examples
program
?Scope ‘ returns PROGRAM
call sub1
?func(1)
end program
sub sub1
?Scope ‘ returns SUB1 – the subroutine name
end sub
function func(byval i1 as long) as long
?Scope ‘ returns FUNC – the function name
func=i1
end function