F (Format) Errors


 

The following are format errors that may be trapped using the FORMAT TRAP. Failure to trap these errors will result in a runtime error message and program termination.

 

Code

Description

F01

Numeric field content error in numeric operation.

F02

The ARRAY index specified was not within the defined range. May also indicate invalid Pointer if it occurs within an I/O list.

F03

Array index value out of range.

F04

Uninitialized Pointer reference.

F05

Variable type mismatch in parameterized CALL list. A F05 error can occur when an invalid array pointer type is encountered in a variable list.

F06

A PROCEDURE was called with a FILE, IFILE, AFILE, or PFILE and the corresponding receiving xFILE was already open. If a file is passed to a PROCEDURE, the receiving file declaration must be closed at the time of the CALL.

F07

The DIM variable logical string size for the user specified translation table in a LOWERCASE/UPPERCASE instruction must be 256.

F08

Either the whole digit parameter or the fraction digit parameter is negative for a NFORMAT instruction.

F09

An invalid destination variable has been detected for an IMPLODE or EXPLODE statement. This error occurs when the source variable in an EXPLODE operation is the same as a dest variable. Also, this error occurs in an EXPLODE statement if an object is in the destination list and the delimiter parameter is null. In an IMPLODE statement, this error occurs if an invalid object is detected in the source list.

F11

The MODE value for a HASH instruction is invalid. The acceptable values must be zero (0) to four (3) or one hundred (100) to one hundred four (104).

F12

A LABEL execution pointer is referencing an EXTERNAL load module declaration and it is being used in a flow control instruction that does not support an EXTERNAL instruction. For example, a GOTO instruction does not support an EXTERNAL reference.

F13

A FINDDIR instruction was unable to create a DMAKE buffer for for a destination DIM pointer.

F14

Invalid UTF-8 characters are being moved or stored into a NCHAR or NINIT variable. The NCHAR and NINIT variable can only contain valid UTF-8 characters.

F15

Unable to uppercase a UTF-8 string.

F16

NCHAR and DIM variable types are not allowed for the PL/B instruction.

F17

Out for memory to perform format operation.

 

 

See Also: PL/B Errors

 



Compiler and Runtime Options E (ANSI) Errors I (I/O) Errors