+2 votes
in Machine Learning by

How do you check the return from FACE?

1 Answer

0 votes
by
i believe you can check R7 and R0 for return value and error value
by

FACE FACS

R6 Contains the Hexadecimal Record type Contains the symbolic record type

R0 Contains the Ordinal Number

R7 Address of an 8-byte field where the system file reference is to be placed.  Normally, the location of FARW  because the address must be  there before the find or file function can be called. 

Return from FACE/FACS:

Normal return

System file reference at the 2nd full word from the specified location

R0:  maximum ordinal number for record type

R1-5:  contents unchanged

R6-7:  contents changed

...