Salesforce

BufSetVariant (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

BufSetVariant (Magic xpa 3.x)

Inserts a variant value into a specified position in a buffer.

Syntax:

BufSetVariant(variable reference, position, value, value as pointer)

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 is placed in the BLOB value.

value – The value to be set.

value as pointer – A logical value indicating if the variant value should be written directly to the buffer or as a pointer to the data. If you enter True, Magic xpa writes the variant value as a pointer.

Returns:

True is returned when the function succeeds. False is returned when the function fails.

See also:

Buffers

SetBufCnvParam

BufGetVariant

The Online Client Samples project (program CS07)

Reference
Attachment 
Attachment