sosDoubleCreate (Function) |
Top Previous Next |
sosDoubleCreate will create a new DOUBLE object. If the object already exists, it will be replaced.
Input: key : STRING The key for the object to create. May only contain a-z,A-Z,0-9, "." and "_" (maximum of 250 characters).
desc : STRING The description for the object, to show in the IDE (maximum of 80 characters).
value : DOUBLE default 0 The initial value for the object. The value is not validated, making it possible to use it to e.g. determine unmodified values.
min_val : DOUBLE default 0 The minimum allowed value for the object. If both min_val and max_val are 0, there will be no limit. NaN is not a valid value for this parameter.
max_val : DOUBLE default 0 The maximum allowed value for the object. If both min_val and max_val are 0, there will be no limit. NaN is not a valid value for this parameter.
Returns: INT
Declaration: FUNCTION sosDoubleCreate : INT;
Example: INCLUDE rtcu.inc |