Remote-processing CAMBASIC Manual do Utilizador Página 166

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 208
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 165
Commands - 133
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.
REMARK S: The time is returned in two forms, depending upon the value of the argument n. When n= 0, the
hours, m inutes and seconds are returned. W hen 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
Vista de página 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 207 208

Comentários a estes Manuais

Sem comentários