Chapter - Emphasized Keywords
out-of-line keywords is a number that varies. out-of-line keywords is 1. [ 1=2 line window, 2=4 line window, 3=Topics line ]
A printing-style is a kind of thing. Some printing-styles are defined by the Table of Lacuna Styles.
Table of Lacuna Styles
printing-style | output-style |
object-word | 2 |
direction-word | 1 |
topic-word | 3 |
parser-word | 5 |
Table of User Styles (continued)
style name | fixed width | boldness | relative size | glulx color |
special-style-1 | proportional-font | bold-weight | 0 | g-pure-green |
special-style-2 | proportional-font | bold-weight | 0 | g-pure-blue |
Table of Common Color Values (continued)
glulx color value | assigned number | |
g-pure-green | 3381555 [ green ] | |
g-pure-blue | 255 |
print-upper-case is a truth state that varies. print-upper-case is false.
The currently printing style is a printing-style that varies.
we-are-keyword-printing is a truth state that varies. we-are-keyword-printing is false. we-are-parser-speaking is a truth state that varies. we-are-parser-speaking is false.
To set the text style for (whichstyle - a printing-style):
now we-are-keyword-printing is true;
let val be the output-style of whichstyle;
if val is 1 begin; say first custom style;
otherwise if val is 2; say second custom style;
otherwise if val is 3; say bold type;
otherwise if val is 4; say fixed letter spacing;
otherwise if val is 5; say italic type;
[ otherwise if val is 5; say "*";
otherwise if val is 6; say "_";
otherwise if val is 7; say "[bracket]";]
otherwise if val is 8; now print-upper-case is true;
end if.
Before asking which do you mean: now asking-which is true. After asking which do you mean: now asking-which is false. asking-which is a truth state that varies.