NextCode function

The < NextCode > function returns the code of technological command, which is located immediately after the current command. Each CLData command has a unique numerical identifier - code. CLData command codes are listed in the appendix. The code of a current CLData command can be obtained with CurCode function. For the code of arbitrary commands on its textual name should use the CodeOfCmd function.



Example:



if NextCode=CodeOfCmd("Fini") then


Output "M02"





See also:

CLData functions and operators