Blue Lacuna — 107 of 467

Aaron A. Reed

Release 4

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-styleoutput-style
object-word2
direction-word1
topic-word3
parser-word5

Table of User Styles (continued)

style namefixed widthboldnessrelative sizeglulx color
special-style-1proportional-fontbold-weight0g-pure-green
special-style-2proportional-fontbold-weight0g-pure-blue

Table of Common Color Values (continued)

glulx color valueassigned number
g-pure-green3381555 [ green ]
g-pure-blue255

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.