MemoryBlock.BooleanValue

From Real Software Documentation

Jump to: navigation, search
Method
MemoryBlock.BooleanValue ( Offset as Integer ) As Boolean

Gets (0=False; Any non-zero value is True) or sets (0=False).

Offset is in bytes from the beginning of the MemoryBlock.

Example

This example sets a byte in the MemoryBlock and then reads it.

Dim mm as New MemoryBlock(4)
mm.BooleanValue(0)=true

if mm.BooleanValue(0) then
MsgBox "true"
end if
Personal tools