Fixed-Length Multi-Byte Functions



Codes for fixed-length multi-byte functions (240 (0xF0) through 255 (0xFF)) always appear twice. The first occurrence is the begin gate, and a second occurrence is the end gate. The length of each function is fixed and listed after the function code.

Extended Character

Size = 4

<240 (0xF0)>

[WP character] = (<character> <WP character set number>)

<240 (0xF0)>

Undo

Size = 5

<241 (0xF1)>

<undo type>

0 = start of invalid text

1 = end of invalid text

2 = start of valid text

3 = end valid text

[undo level] Internal number used to determine which functions were inserted or deleted as part of a single operation. When undo is performed, everything at the same level is undone.

<241 (0xF1)>

Attribute On

Size = 3

<242 (0xF2)>

<attribute>

bit 7: 1 = Ignore the attributed text on/off codes. Used when an attributed block of text becomes a subset of a larger attribute block of the same type, such as bolding a sentence that contains a word already bolded. Bit 7 of the enclosed Bold On code would be set to 1.

bit 6: reserved

bits 0-5: attribute

0 = extra large (chapter heading)

1 = very large (heading)

2 = large (sub-heading)

3 = small print

4 = fine print

5 = superscript

6 = subscript

7 = outline

8 = italics

9 = shadow

10 = redline

11 = double underline

12 = bold

13 = strikeout

14 = underline

15 = small caps

16 = blink

17 = reverse video

<242 (0xF2)>

Attribute Off

Size = 3

<243 (0xF3)>

<attribute> See Attribute On for description of attributes.

<243 (0xF3)>

Reserved - 245 (0xF4) to 255 (0xFF)



Function Size
244 (0xF4) Size = 3
245 (0xF5) Size = 3
246 (0xF6) Size = 4
247 (0xF7) Size = 4
248 (0xF8) Size = 4
249 (0xF9) Size = 5
250 (0xFA) Size = 5
251 (0xFB) Size = 6
252 (0xFC) Size = 6
253 (0xFD) Size = 8
254 (0xFE) Size = 8
255 (0xFF) Cannot be used. -1 is reserved so no size is assigned to this value.