MC-Basic:robot.CURRENTPASS

From SoftMC-Wiki
Jump to: navigation, search
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