02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TRANSFER STATUS<br />

Chapter —Program Instructions<br />

Purpose Statement for checking last TRANSFER KERMIT or TRANSFER<br />

ZMODEM operation.<br />

Syntax TRANSFER ↔ S[TATUS],<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 elements<br />

will return:<br />

0: Type of protocol. ("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<br />

statements), you can check how the transfer was performed. Note that the<br />

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

contain more 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 <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 8

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

Saved successfully!

Ooh no, something went wrong!