MESSAGE ROW (command)

From MZXWiki
Jump to navigation Jump to search

MESSAGE ROW #, SET MESG COLUMN #, and CENTER MESG are commands which let the programmer change the on-screen position of the Message Row, which can be used to make dialogue or messages appear to be coming from somewhere besides the bottom row of the screen, or to position a status bar.

Usage

. "putting the message row at the top of the screen and displaying two lines of text"
message row is 0
set mesg column to 3
* "~fHELLO,\nWORLD!"
wait for 50
. "now, we return the message row to its default settings and clear it"
clear mesg
message row is 24
center mesg

Supplementary Commands

* "string"

See main article.