Converts a Magic xpa Time value into one of the supported storage types at a specified position in the buffer.
Syntax:
BufSetTime(variable reference, position, value, storage)
Parameters:
variable reference – The reference to the BLOB variable containing the buffer. For example, 'A'VAR
position – The numeric value defining where the conversion result will be placed in the BLOB value.
value – The value to be set.
storage – A numeric value representing a valid storage type in Magic xpa. For a list of storage types, see Magic xpa Storage Types.
Returns:
True when the conversion succeeds. False when the conversion fails.
The function fails when the:
Variable reference does not refer to a valid variable identifier.
Variable reference does not refer to a BLOB variable.
Position parameter has a negative value.
Storage parameter does not contain a valid number.
See also:
Buffers
SetBufCnvParam
The Online and Rich Client Samples projects (program CS01 and RCS01)