17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TRANSFER STATUS<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for checking last TRANSFER KERMIT or TRANSFER<br />

ZMODEM operation.<br />

Syntax TRANSFER S[TATUS],<br />

↔<br />

is a five-element one-dimensional numeric array where the<br />

elements will return....<br />

0: Number of packets. (Kermit only)<br />

1: Number of NAK's. (Kermit only)<br />

2: ASCII value of last status character. (Kermit only)<br />

3: Last error. (Kermit and ZMODEM)<br />

4: Block check type used. (Kermit only)<br />

is a two-element one-dimensional string array where the<br />

elements will return:<br />

0: Type of protocol, i.e. "KERMIT" or “ZMODEM”.<br />

1: Last file name received.<br />

Remarks After a file transfer using the Kermit or ZMODEM protocol has been<br />

performed (see TRANSFER KERMIT and TRANSFER ZMODEM statements),<br />

you can check how the transfer was performed. Note that the numeric<br />

array requires the use of a DIM statement, since the array will contain more<br />

than four elements.<br />

Example 10 TRANSFER KERMIT "R"<br />

20 DIM A%(4)<br />

30 TRANSFER STATUS A%, B$<br />

40 PRINT A%(0), A%(1), A%(2), A%(3), A%(4)<br />

50 PRINT B$(0), B$(1)<br />

.....<br />

.....<br />

.....<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 233

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!