*ERROR (IMAGE)


 

*ERROR={code}

 

This list control defines the variable to receive the return status of the IMAGE instruction. If this list control is not used, the return status is ignored. The {code} variable must be a DIM variable of at least two bytes. If it is shorter, only one byte is saved. The following are the currently defined return codes:

 

Code

Meaning

 

Code

Meaning

00

Successfully completed

 

01

Invalid adapter type

02

Invalid video mode

 

03

Invalid window left

04

Invalid window top

 

05

Invalid window right

06

Invalid window bottom

 

07

Invalid image left

08

Invalid image top

 

13

Error opening file

20

User abort

 

80

Not enough memory

 

See Also: List Controls (IMAGE), IMAGE



PL/B Language Reference *ADAPTER (IMAGE) *FONT (IMAGE)