Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7168
Chapter 2 Program Instructions
NAME WEEKDAY$
Field of Application
Statement for formatting the day parameter in return strings of
WEEKDAY$.
Syntax NAME WEEKDAY$ <nexp>, <sexp>
<nexp> is the number of the weekday according to the WEEKDAY$
function syntax (Monday = 1... Sunday = 7).
<sexp> is the desired name of the weekday.
Default: Full English name in lowercase characters, that
is Monday, Tuesday, etc.
Remarks
This statement allows you to assign names to the different weekdays in
any form and language you like. The names will be returned instead of the
corresponding numbers in connection with WEEKDAY$ function.
Example
This example shows how to make the printer return the name of the weekday
as an English 3-letter abbreviation:
10 FORMAT DATE$ ", MM/DD/YY"
20 DATE$="001201"
30 NAME WEEKDAY$ 1, "Mon"
40 NAME WEEKDAY$ 2, "Tue"
50 NAME WEEKDAY$ 3, "Wed"
60 NAME WEEKDAY$ 4, "Thu"
70 NAME WEEKDAY$ 5, "Fri"
80 NAME WEEKDAY$ 6, "Sat"
90 NAME WEEKDAY$ 7, "Sun"
100 PRINT WEEKDAY$ (DATE$) + DATE$("F")
RUN
yields:
Fri, 12/01/00