From Xojo Documentation


MemoryBlock.Int32Value(Offset as Integer) As Int32

New in 2005r5

Supported for all project types and targets.

Gets or sets an Int32 value. Offset is in bytes from the beginning of the MemoryBlock.

Sample Code

This example sets a 32-bit integer and then accesses it.

Var i As Int32
Var m As New MemoryBlock(4)
m.Int32value(0) = 256495

i = m.Int32Value(0)