Remote-processing CAMBASIC Uživatelský manuál Strana 167

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 208
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 166
Commands - 134
TIME$
Statement
SYNTAX: TIME$ = time string
PURPOSE: TIME$ is used to set the time on the system calendar/clock. The clock keeps time on a 24 hour
basis with a resolution of one second.
REMARK S: The time string may be a variable or a constant. In either case the format is the same.
The string must be in the form:
hh:mm:ss
where hh is the hour and ranges from 00 to 23, mm is the minute (00 to 59) and ss the second (00 to
59).
NOTE: No error checking is done on the entries. If you enter 99 for the minutes, no err or message
will be given.
RELATED: TIME$ function and DATE$
EXAMPLE: 10 TIME$ = "11:23:45"
10 A$ = “01:45:12"
20 TIME$ = A$
ERROR: < Syntax> if two digits are not used hh,mm, ss or, if digits not 0– 9 are entered.
Zobrazit stránku 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 207 208

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

Žádné komentáře