EnglishРусский  

Ads

Perfect Automation tool
All-In-One: Script editor, Launcher, Scheduler, Keyboard & Mouse Recorder. Try now!

CreateInstall
Freeware and commercial installers.

Cell Phone Batteries
Batteries Plus offers batteries for laptop, camcorder, cell phone, camera.

Gentee needs your help!
How to advertise with us
 
laptop battery

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

Edit