GetRuntimeDouble()

语法

Result = GetRuntimeDouble(Object$)
概要
Returns the double value of the runtime object.

参数

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).

When accessing public module items, the module prefix name is mandatory, even if UseModule is used.

返回值

Returns the double value of specified object, or zero if not found. As zero is a valid double value, IsRuntime() can be used to determine if the runtime object really exists. If the variable is of integer or float type, it is automatically converted to double.

参阅

SetRuntimeDouble(), IsRuntime()

已支持操作系统

所有

Runtime Index - GetRuntimeInteger() ->