Measurement-computing Micro 488/EX rev.2.1 Instrukcja Użytkownika Strona 145

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 218
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 144
Section 5 Command Descriptions
5.75
SET DAY
The
SET
DAY
command is used to set the internal day of week. Any of the DAY
command output formats may be used, either numeric, abbreviated or unabbreviated.
SYNTAX
SET
DAY
[
;
] {
d
|
da
|
day
}
d
is a numeric representation from
1
(sunday) to
7
(saturday).
da
is an abbreviated representation (
SUN
,
MON
,
TUE
,
WED
,
THU
,
FRI
,
SAT
)
day
is an un-abbreviated representation (
SUNDAY
,
MONDAY
,
TUESDAY
,
WEDNESDAY
,
THURSDAY
,
FRIDAY
,
SATURDAY
)
RESPONSE None
MODE Any
BUS STATES None
EXAMPLES
PRINT#1,"SET DAY 3"
PRINT#1,"DAY"
INPUT #1,D$
Read the day string
PRINT D$
Printed to the screen
TUESDAY
Output is format dependent
PRINT#1,"SET DAY WED"
PRINT#1,"DAY"
INPUT #1,D$
Read the day string
PRINT D$
Printed to the screen
WEDNESDAY
Output is format dependent
PRINT#1,"SET DAY FRIDAY"
PRINT#1,"DAY"
INPUT #1,D$
Read the day string
PRINT D$
Printed to the screen
FRIDAY
Output is format dependent
Przeglądanie stron 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 217 218

Komentarze do niniejszej Instrukcji

Brak uwag