Remote Processing Coorporation RPC-320 Specifikace Strana 150

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 149
Commands - 120
TIME$
Function
SYNTAX: a$ = TIME$(n)
PURPOSE: The TIME$ function is used to read the system calendar/clock. The system clock keeps time on a 24
hour basis with a resolution of one second.
REMARKS: The time is returned in two forms, depending upon the value of the argument n. When n=0, the
hours, minutes and seconds are returned. When n=1, the minutes and seconds are returned.
The clock is set by the TIME$ statement.
RELATED: TIME$ statement and DATE$
EXAMPLE: 10 TIME$ = "11:23:45"
20 PRINT TIME$(0)
30 PRINT TIME$(1)
11:23:45
23:45
ERROR: <Data negative> – for n
<Illegal argument> – if n > 1
Zobrazit stránku 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 185 186

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

Žádné komentáře