Measurement-computing Micro 488/EX rev.2.1 Manuel d'utilisateur Page 145

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 218
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 217 218

Commentaires sur ces manuels

Pas de commentaire