From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Xojo.Core.MutableMemoryBlock.CurrencyValue(offset As UInteger, Assigns value As Currency)

Supported for all project types and targets.

Sets an 8-byte Currency value in the MemoryBlock at the specified offset (in bytes).

Sample Code

Var c As Currency = 12.34
Var value As New Xojo.Core.MutableMemoryBlock(8)
value.CurrencyValue(0) = c