UBI EasyCoder 201 IIE Instrukcja Obsługi Strona 37

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 332
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 36
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 35
Chapter 2 Program Instructions
CHDIR
Field of Application
Statement specifying the current directory.
Syntax CHDIR<scon>
<scon> speci es the current directory (see DEVICES)
Default: "c:"
Remarks
By default, the printers permanent memory ("c:" ) is the current directory,
which means the directory that is used if the Intermec Fingerprint instruction
does not contain any reference to a directory, for example FILES. This
implies that to access the temporary memory ("tmp:"), the storage part
of the RTC/Dallas key circuit ("storage:"), or an optional memory card
("rom:" or "card1:"), you must include such a reference in your instructions,
for example FILES "rom:".
The CHDIR statement allows you to appoint another directory than "c:"
as the current directory. Obviously, this implies that you must specify the
permanent memory ("c:") whenever you want to access it.
Example
In this example, the current directory is changed to "lock:", all les
in "lock:" are listed, and nally the current directory is changed back
to "c:". (This example is only included to illustrate the principles of
changing the current directory. It is more ef cient to use FILES "lock:"
to read its contents.)
10 CHDIR"lock:"
20 FILES
30 CHDIR"c:"
RUN
yields for example:
Files on lock:
SYS1 11
238 bytes free 11 bytes used
Przeglądanie stron 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 331 332

Komentarze do niniejszej Instrukcji

Brak uwag