Salesforce

BufSetBit (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

BufSetBit (Magic xpa 4.x)

Sets the value of a bit in a byte stored in the BLOB buffer.

Syntax:

BufSetBit(variable reference, position, bit number, logical value)

Parameters:

variable reference – The reference to the BLOB variable containing the buffer. For example, 'A'VAR

position – A number defining the position of the byte in the BLOB variable.

bit number – A value from 1 to 8 representing the bit number in the byte.

logical value – A logical value to set the specified bit.

Returns:

True when the bit number is set. False when the bit number is not valid.

See also:

Buffers

The Online and Rich Client Samples projects (program CS01 and RCS01)

Reference
Attachment 
Attachment