FONT


PLBCMP GUI Only

square.png Properties

square.png Methods

square.png Instructions

 

The FONT instruction defines an object variable for a font. Use a FONT object to describe the font characteristics used when displaying text. To define a FONT, use one of the following statement formats:

 

(1)

[label]

FONT

[%]

(2)

[label]

FONT

(arraysize)

(3)

[label]

FONT

^

(4)

[label]

FONT

^,{target}

(5)

[label]

FONT

^(arraysize)

(6)

[label]

FONT

^(arraysize),({target}),...,({target})

 

Where:

label

Optional. A Data Label.

%

Optional. Denotes the item as being GLOBAL.

arraysize

Required. An integer decimal constant, CONST variable, or EQUATEd value indicating the number of array items.

^

Optional. Denotes the item as being a POINTER.

target

Required. The name of a previously defined data item of the same type.

Flags Affected: NONE

Note the following:

  1. The FONT object describes a font and its associated properties.

  2. The FONT object may be used when a FONT option is used in a CREATE instruction for other types of objects.

  3. Multi-dimension arrays are supported up to a maximum of fourteen dimensions.

  4. The ^ denotes a Pointer Variable.

  5. Unlike most objects, a FONT object may be defined as Global and will not be DESTROYed during a CHAIN instruction.

 

 

See Also: Example Code, Object Definitions, Object Output Instructions



PL/B Language Reference FLOATMENU FTP