sosDataCreate (Function) |
Top Previous Next |
sosDataCreate will create a new object for storing binary data. 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 : PTR Address of a buffer containing the data to store.
len : INT (0..32767) The length of the data in the buffer.
max_len : INT (0..32767) default 100 The maximum allowed length for the object.
Returns: INT
Declaration: FUNCTION sosDataCreate : INT;
Example: INCLUDE rtcu.inc |