Difference between revisions of "MC-Basic:SCOPE/zh-hans"
(Created page with "{{Languages}} == 缩写 == == 格式 == ?Scope == 适用版本 == from 0.4.0.22 == 描述 == 该查询会返回当前范围:PROGRAM 字符串表达的功能/子程序名...") |
|||
Line 1: | Line 1: | ||
− | {{Languages}} | + | {{Languages|MC-Basic:SCOPE}} |
== 缩写 == | == 缩写 == | ||
Line 10: | Line 10: | ||
== 描述 == | == 描述 == | ||
该查询会返回当前范围:PROGRAM 字符串表达的功能/子程序名称。 | 该查询会返回当前范围:PROGRAM 字符串表达的功能/子程序名称。 | ||
− | |||
== 类型 == | == 类型 == | ||
String | String | ||
− | |||
== 取值范围 == | == 取值范围 == | ||
− | |||
== 单位 == | == 单位 == | ||
− | |||
== 默认值 == | == 默认值 == | ||
− | |||
== 使用范围 == | == 使用范围 == | ||
Line 41: | Line 36: | ||
end program | end program | ||
− | |||
Line 49: | Line 43: | ||
end sub | end sub | ||
− | |||
Latest revision as of 03:00, 28 April 2017
语言: | English • 中文(简体) |
---|
缩写
格式
?Scope
适用版本
from 0.4.0.22
描述
该查询会返回当前范围:PROGRAM 字符串表达的功能/子程序名称。
类型
String
取值范围
单位
默认值
使用范围
任务区
限制
只读
例子
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