SHAPE            Generate/shape.gif


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Methods

square.png Instructions

 

The SHAPE instruction defines an oval or rectangular shape. SHAPEs are visual devices that also support drag/drop and clipboard operations. To define a SHAPE, use one of the following statement formats:

 

(1)

[label]

SHAPE

[%]

(2)

[label]

SHAPE

(arraysize)

(3)

[label]

SHAPE

^

(4)

[label]

SHAPE

^,{target}

(5)

[label]

SHAPE

^(arraysize)

(6)

[label]

SHAPE

^(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. Multi-dimension arrays are supported up to a maximum of fourteen dimensions.

  2. The ^ denotes Pointer Variable.

  3. Although a SHAPE may be defined as Global, it is DESTROYed during a CHAIN instruction.

 

 

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

 



PL/B Language Reference RUNTIME SLIDER