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

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

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

Chapter —Program Instructions<br />

NAME WEEKDAY$<br />

Purpose Statement for formatting the day parameter in return strings of WEEK-<br />

DAY$.<br />

Syntax NAME WEEKDAY$ , <br />

is the number of the weekday according to the WEEKDAY$ function<br />

syntax (Monday = 1... Sunday = 7).<br />

is the desired name of the weekday.<br />

Default: Full English name in lowercase characters, that is<br />

Monday, Tuesday, etc.<br />

Remarks This statement allows you to assign names to the different weekdays in any<br />

form and language you like. The names will be returned instead of the corresponding<br />

numbers in connection with WEEKDAY$ function.<br />

Example This example shows how to make the printer return the name of the weekday<br />

as an English 3-letter abbreviation:<br />

10 FORMAT DATE$ ", MM/DD/YY"<br />

20 DATE$="031201"<br />

30 NAME WEEKDAY$ 1, "Mon"<br />

40 NAME WEEKDAY$ 2, "Tue"<br />

50 NAME WEEKDAY$ 3, "Wed"<br />

60 NAME WEEKDAY$ 4, "Thu"<br />

70 NAME WEEKDAY$ 5, "Fri"<br />

80 NAME WEEKDAY$ 6, "Sat"<br />

90 NAME WEEKDAY$ 7, "Sun"<br />

100 PRINT WEEKDAY$ (DATE$) + DATE$("F")<br />

RUN<br />

yields:<br />

Fri, 12/01/03<br />

17 <strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong>

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

Saved successfully!

Ooh no, something went wrong!