Remote-processing CAMBASIC Manual do Utilizador Página 38

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 208
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 37
Commands - 5
ASC
Numeric Fun ction
SYNTAX: n = ASC(m$)
PURPOSE: To return the ASC II code for the first character of the string m$.
REMARK S: The result of the ASC function is a numerical value that is the ASCII code of the first character of
the string.
The CHR$ function is the inverse of the ASC function, and is used to convert from the ASCII code
to a character.
RELATED: CHR$, STR$, VAL
EXAMPLE: 10 F$ = "Alert"
20 PRINT ASC(F$)
RUN
65
ERROR: < Illegal argument> if m$ is a null
Vista de página 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 207 208

Comentários a estes Manuais

Sem comentários