CONV

From BR Wiki
Revision as of 22:17, 23 January 2013 by Laura (talk | contribs) (Created page with "The CONV error condition may be specified at the end of a program statement, in the Exit statement and with the ON error statement. ===Error Traps:=== CONV traps the followin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The CONV error condition may be specified at the end of a program statement, in the Exit statement and with the ON error statement.

Error Traps:

CONV traps the following four conversion errors: 1.) A numeric input field contains non-numeric characters. 2.) The number is too big for the field. 3.) The I/O list item is numeric where the FORM format specification indicates a string, or visa-versa. 4.) A negative value is being input or output, but the PIC format specification does not specify a sign (negative symbol).