GetRuntimeInteger()
Syntax
Result = GetRuntimeInteger(Object$)Description
Returns the integer value of the runtime object. If the runtime object is a procedure, it returns the procedure address.
Parameters
Object$ Name of the object to get the value from. The following objects are supported:
- Variable: the object name is 'VariableName' (case insensitive).
- Constant: the object name is '#Constantame' (case insensitive).
- Procedure: the object name is 'ProcedureName()' (case insensitive).
When accessing public module items, the module prefix name is mandatory, even if UseModule is used.
Return value
Returns the integer value of specified object, or zero if not found. As zero is a valid integer value, IsRuntime() can be used to determine if the runtime object really exists. If the variable is of float or double type, it is automatically converted to integer. If the runtime object is a procedure, it returns the procedure address.
See Also
SetRuntimeInteger(), IsRuntime()
Supported OS
All