start | all-pages
characteroperations
The basic Konilo system provides a small number of words for
working with characters.
To push a character to the stack, use the `$` sigil. E.g., `$P`
would push the ASCII code for "P".
You can check the case of a character with +c:uppercase? or
+c:lowercase? . Changing the case is done with +c:to-upper and
+c:to-lower .
Reading characters is done with `c:get`, and display of them
uses `c:put`. And finally there is `c:t-s`, which returns a
string with a single character.