GFindCld function


The <GFindCld> function is similar to the FindCLD function, but it is looking for a command named <CmdName> in all of CLData files. <StartIndex> parameter defines the first scanned command. <StartIndex> is relative to the first command in the first CLData file. If <StartIndex> parameter is omitted, then operator will scan commands starting with the command immediately following the current. The returned value is the index of the found command. When no command is found operator returns -1. The <Data> parameter must be a declared array of real. <Data> will receive the values from the found command's CLData array. Syntax:

 

N = GFindCld({<StartIndex>, }<CmdName>, <Data>)

 

To get access to the parameters of arbitrary technological command can also use the CLDFile operator.

 

 

 

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

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