uc0ba

uc0ba


ub0ba Index Level ud0ba
Syntax dummy = OCONV( memory.location, 'uc0ba' )
Category BASIC
Type User Exit
Description writes ("pokes") a value into a memory address.
Options
See Also user exits, FlashBASIC ub0ba
Example memory.location<1> = '0000'   ;* This is the memory segment
memory.location<2> = '09e6'   ;* This is the offset
memory.location<3> = '01'     ;* This is the value to write (poke)
dummy = oconv(memory.location, 'uc0ba')

The memory location 0000:09e6 now contains the value 0x0001.
Warnings It would be wise to read the contents of a memory location before writing to it, as many locations require that new values be AND'ed or OR'ed with the existing data.
Compatibility R83 3.1 R83 2.2
ub0ba Index Level ud0ba