register_named_variable
The register_named_variable function registers a local variable name.
Syntax
ID register_named_variable(
PCSTRINGZ name
);
Members
Parameters | Description |
---|---|
name |
Specifies the variable name. |
Return Values
The function returns an ID. If the named variable already exists, its existing ID will be returned. If it does not exist, a new registered variable is created.
Remarks
Local variable names are case-insensitive. The value of the variable is set to zero, and the units to UNITS_UNKNOWN
, on creation.
See Also