Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%Asc function


Function
The function converts the first leftmost character of the specified text to a number (ASCII coding).
Declaration


Blok kódu
languageesl
themeConfluence
INT %Asc(
   TEXT in text
 )
Parameters


textFunction argument.
Example
If text is an empty text, the function gets returns an invalid value. Otherwise, it converts the first character to a number within the range of 0...255.
 


Blok kódu
languageesl
themeRDark
%Asc("Hello")    ; returns the value of 72