CurCode function


<CurCode> function returns the code of the current CLData command. Each CLData command has a unique numerical identifier - code. CLData command codes are listed in the appendix. Example of a function inside the command handler CIRCLE below.

 

program Circle

  Print CurCode

end 

 

As a result of the program in debug window output the number 15000.

The code of a following CLData command can be obtained with NextCode function. For the code of arbitrary commands on its textual name should use the CodeOfCmd function.

 

 

 

Сопутствующие ссылки:

Функции и операторы работы с CLData