Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 265
Chapter 2 Program Instructions
TRANSFER STATUS
Field of Application
Statement for checking last TRANSFER KERMIT or TRANSFER
ZMODEM operation.
Syntax TRANSFER
↔
S[TATUS]<nvar>,<svar>
<nvar> is a fi ve-element one-dimensional numeric array where
the elements will return:
0: Number of packets. (Kermit only)
1: Number of NAK’s. (Kermit only)
2: ASCII value of last status character. (Kermit only)
3: Last error. (Kermit and ZMODEM)
4: Block check type used. (Kermit only)
<svar> is a two-element one-dimensional string array where the
elements will return:
0: Type of protocol. ("KERMIT" or “ZMODEM")
1: Last fi le name received.
Remarks
After a fi le transfer using the Kermit or ZMODEM protocol has been
performed (see TRANSFER KERMIT and TRANSFER ZMODEM
statements), you can check how the transfer was performed. Note that the
numeric array requires the use of a DIM statement, since the array will
contain more than four elements.
Example
10 TRANSFER KERMIT "R"
20 DIM A%(4)
30 TRANSFER STATUS A%, B$
40 PRINT A%(0), A%(1), A%(2), A%(3), A%(4)
50 PRINT B$(0), B$(1)
.....
.....
.....