Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
syntax [2019/07/08 11:32] – [Case sensitivity] neils | syntax [2019/08/25 19:17] – [String literals] neils | ||
---|---|---|---|
Line 85: | Line 85: | ||
print " | print " | ||
| | ||
+ | Make sure to check the list of all [[petscii_escape_sequences|]]. | ||
+ | ===== Character literals ===== | ||
+ | Since version 1.2, a character enclosed in single quotes (''''' | ||
+ | |||
+ | Example: | ||
+ | |||
+ | print ' | ||
+ | rem -- will output: 66 | ||
+ | print ' | ||
+ | rem -- will output: 5 |