u014b

u014b


u014a Index Level u017e
Syntax result = OCONV( write.command, 'u014b' )
Category BASIC
Type User Exit
Description writes an absolute disk sector.

"write.command" is a dynamic array which contains the following information:

Write.command<1> = drive.number, <vm>, block.number

Drive.number may be:
1 = drive A:
2 = drive B:
3 = drive C:
4 = drive D:

<value mark>

Block.number is the logical disk block number to write.

Write.command<2> = mode

Mode may be:

1 = convert HEX to ASCII

Write.command<3> = 'u014b'

Write.command<4> = A sector's worth of data to write, in 1024 2-digit hex characters, which corresponds to a 512-byte sector.

"result" is a status code indicating:

'00' = successful,
'xx' = failed, where 'xx' is any non-zero code.
Options
See Also user exits, FlashBASIC u014a u0039
Example
Warnings This only works on PC-based machines.
Compatibility R83 3.1
u014a Index Level u017e