MC-Basic:PROGRAMLINE/zh-hans

From SoftMC-Wiki
< MC-Basic:PROGRAMLINE
Revision as of 08:50, 10 April 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

格式

   ?PROGRAMCONTEXT

可用版本

4.0.15以上

描述

该查询返回一个Long值,指示当前任务中的执行程序行。ProgramLine只能用于查询,且不可指向另一个任务。

类型

Long

取值范围

1 到 MaxLong.


== 默认 == 终端中为:1

可用范围

Configuration, Task or Terminal

限制

只读,任务必须已加载在内存中。

例子: 在终端中:

    -->?ProgramLine            ‘ Should return 1


或者在 Task1.prg :

  Program

  ?ProgramLine

  End Program

可查阅