TRAPSIZE


8.1

 

The TRAPSIZE instruction returns the size of the variable required for a TRAPSAVE instruction. The instruction uses the following format:

 

 

[label]

TRAPSIZE

{size}

 

Where:

label

Optional. A Program Execution Label.

size

Required. A previously defined Numeric Variable in that the variable size is stored.

Flags Affected: none

Note the following:

  1. The {size} variable is updated to reflect the number of bytes needed to store the trap state information.

 

 

See Also: TRAPSAVE, Interactive I/O Instructions

 



PL/B Language Reference TRAPSAVE