Difference between revisions of "MC-Basic:robot.CURRENTPASS"

From SoftMC-Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
{{Languages}}
+
{{Languages|MC-Basic:robot.CURRENTPASS}}
 
 
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Latest revision as of 02:18, 28 April 2017

Language: English  • 中文(简体)‎

Returns the index of the array of the point (segment) which is currently passed. Returns the index of the point in the last given PASS command and not of the points entered until now. For example, the user buffer size is 100 point and AI uses 10 point from 41-50, so the returned index can be in the range 1-10 and not 41-50.

Syntax

?<ROBOT>.CurrentPass

Type

Long

Range

0-arraysize(a)

Scope

Task, Terminal

Limitations

Read only Modal only

Examples

?ScaraROBOT.CurrentPass

See Also