Measurement-computing Micro 488/EX rev.2.1 Uživatelský manuál Strana 145

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 218
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 217 218

Komentáře k této Příručce

Žádné komentáře