u014a

u014a


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

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

Read.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 read.

read.command<2> = mode, <vm>, table1, <vm>, table2

Mode may be:

1 = convert ASCII to HEX
2 = transform and prefix character
3 = translate and delete character
4 = transform, prefix and drop Most Significant Bit
5 = transform, delete and drop Most Significant Bit

<value mark>

Table1 contains one or more hex characters to scan for on input. If there is more than one entry, then they are separated by <subvalue marks>.

<value mark>

Table2 contains one or more hex characters to replace the corresponding characters from table1. If there is more than one entry, then they are separated by <subvalue marks>.

"result" is a status code indicating:

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