Remote-processing BASIC 52 Manuel d'utilisateur Page 45

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 163
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 44
RPBASIC-52 PROGRAMMING GUIDE
2-26
DATE (function)
Syntax: A = DATE(n)
Where: n = 0 to 3
0 = year (last two digits)
1 = month
2 = day
3 = day of week
Function: Returns the month, day, day of week, or year from the optional real time clock
Mode: Command, Run
Use: A=DATE(2) Returns day of month
Cards: All. Note exceptions for RPC-52.
DESCRIPTION
A DS1216DM must be in the RAM socket. Consult your hardware manual for location. A numerical value
of the month, day, or year is returned. The program under the TIME function is used to convert numerical
date to a string. Substitute DATE for TIME in the program. STR function 10 also converts a number to a
string.
A HARDWARE error is returned if the RTC is missing or bad. Use the ONERR construct to trap a defective
DS1216DM. Hardware error code at address 101H is 50.
Day of week is returned only on cards w hich use a DS1216DM clock module. (This exc ludes t he R PC-5 2.)
RELATED
DATE (command), TIME
ERRORS
BAD ARGUMENT When n out of range or negative
HARDWARE RTC module missing or bad
EXAMPLE
100 PRINT "Time: ",
110 FOR N=0 TO 2
120 PRINT TIME(N),
130 NEXT
140 PRINT " Date: ",
150 FOR N=0 TO 3
160 PRINT DATE(N),
170 NEXT
180 PRINT CR,
190 GOTO 100
run
Time: 13 24 12 Date: 94 11 14 3
Vue de la page 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 162 163

Commentaires sur ces manuels

Pas de commentaire

Altinex 12-Slot Multi-Tasker Enclosure MT100-108 manuali

Manuali dei proprietari e guide per l'utente per Hardware Altinex 12-Slot Multi-Tasker Enclosure MT100-108.
We fornisce 1 manuali pdf Altinex 12-Slot Multi-Tasker Enclosure MT100-108 per scaricare gratuitamente in base al tipo di documento: Manuale Utente






Più prodotti e manuali per Hardware Altinex

Modelli Tipo di Documento
Pop 'N Plug Interconnect Box PNP200 Manuale Utente   Altinex Pop 'N Plug Interconnect Box PNP200 User Manual, 13 pagine
RS 232 Controller CP7317RS Manuale Utente   Altinex RS 232 Controller CP7317RS User Manual, 16 pagine
Intera Video+Audio to Twisted Pair (UTP) Transmitt Manuale Utente   Altinex Intera Video+Audio to Twisted Pair (UTP) Transmitter DS801-110 User Manual, 10 pagine
CAT-5 Receiver Card PE1004CF Manuale Utente   Altinex CAT-5 Receiver Card PE1004CF User Manual, 13 pagine
Computer/Component Video+ Audio Dual Twisted Pair Manuale Utente   Altinex Computer/Component Video+ Audio Dual Twisted Pair Transmitter MT115-110 User Manual, 20 pagine
Scan Doubler Card MT106-101 Manuale Utente   Altinex Scan Doubler Card MT106-101 User Manual, 16 pagine
CABLE-NOOK JR CNK221 Manuale Utente   Altinex CABLE-NOOK JR CNK221 User Manual, 8 pagine
Tilt 'N Plug Interconnect Box TNP100AU Manuale Utente   Altinex Tilt 'N Plug Interconnect Box TNP100AU User Manual, 13 pagine
Pop `N Plug PNP350 Manuale Utente   Altinex Pop `N Plug PNP350 User Manual, 11 pagine
VGA to CAT-5 Transmitter Card MT103-115 Manuale Utente   Altinex VGA to CAT-5 Transmitter Card MT103-115 User Manual, 8 pagine
Wireless Touchscreen Controller CP451-008 Manuale Utente   Altinex Wireless Touchscreen Controller CP451-008 User Manual, 13 pagine
8-Out Audio Output Card VM2142AU Manuale Utente   Altinex 8-Out Audio Output Card VM2142AU User Manual, 7 pagine
TILT `N PLUG TNP142 Manuale Utente   Altinex TILT `N PLUG TNP142 User Manual, 9 pagine
Table Mount Computer Video + Audio Line Driver DA2 Manuale Utente   Altinex Table Mount Computer Video + Audio Line Driver DA2000TM User Manual, 9 pagine
Compact Analog Interfaces VA6804SX Manuale Utente   Altinex Compact Analog Interfaces VA6804SX User Manual, 13 pagine