Remote-processing BASIC 52 Bedienungsanleitung Seite 46

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 163
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 45
RPBASIC-52 PROGRAMMING GUIDE
2-27
DATE (statement)
Syntax: DATE year,month,day[,day of week]
Where: year = 0 to 99
month = 1 to 12
day = 1 to 31
day of week = 1 to 7
Function: Sets the date to the real time clock
Mode: Command, Run
Use: DATE 96,11,17 Sets date to November 17, 1996
Cards: All
DESCRIPTION
Leap year is automatically set. Tests for day check limits of 1 to 31. It does not check for a valid day in a
month. You could set 2-31-96 as a valid date.
This command m ust be executed first to turn on the clock m odule. DA TE and TIME func tions or the TIME
command will not work otherwise.
day of week can only be set on ca rds usin g a DS 1216D M type cloc k mo dule. (This exc ludes the RPC-52.)
RELATED
DATE (function), TIM E
ERRORS
BAD ARGUMENT When month, day, or year is out of range.
HARDWARE Clock module missing or bad.
Seitenansicht 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 162 163

Kommentare zu diesen Handbüchern

Keine Kommentare