CHARAT

Since version 0.9

Syntax:

charat <byte or int x_pos>, <byte or int y_pos>, <byte or int screencode>

The CHARAT command outputs a character at the given x and y position on the screen. All arguments can be of byte or integer type.

Example:

rem this puts an 'A' near the center of the screeen
charat 20, 10, 65 

Note that the runtime library will not check if the values are within the screen boundaries. As CHARAT is just a convenience wrapper around POKE, it can overwrite memory locations other than the screen memory, thus damaging the program or data. Use it with special care.

Discussion

Enter your comment. Wiki syntax is allowed:
D B Z U J
 
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies