EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

getid

Getting the code of an object by its name. The function returns the code of an object (function, method, operator, type) by its name and parameters.

func uint getid (
   str name,
   uint flags,
   collection idparams
)

Parameters

name The name of an object (function, method, operator ).
flags Flags.
$GETID_METHODSearch method. Specify the main type of the method as the first parameter in the collection.
$GETID_OPERATORSearch operator. You can specify the operator in name as is. For example, +=.
$GETID_OFTYPESpecify this flag if you want to describe parameters with types of items (of type). In this case, collection must contains pairs - idtype and idoftype.
idparams The types of the required parameters.

Return value

The code (identifier) of the found object. The function returns 0 if the such object was not found.

Related links

Source