MC-Basic:SCOPE/zh-hans

From SoftMC-Wiki
< MC-Basic:SCOPE
Revision as of 02:59, 28 April 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 缩写 == == 格式 == ?Scope == 适用版本 == from 0.4.0.22 == 描述 == 该查询会返回当前范围:PROGRAM 字符串表达的功能/子程序名...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: [[::MC-Basic:SCOPE|English]]  • [[::MC-Basic:SCOPE/zh-hans|中文(简体)‎]]

缩写

格式

?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

参见