SOFLOW: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
===Error Traps:=== | ===Error Traps:=== | ||
SOFLOW traps the following three errors: | SOFLOW traps the following three errors: | ||
:1.) The number of input data characters is greater than the defined length of the string variable used for assignment in [[Read|READ]], [[Reread|REREAD]], [[Input|INPUT]], or [[Linput|LINPUT]] statements. | |||
1.) The number of input data characters is greater than the defined length of the string variable used for assignment in [[Read|READ]], [[Reread|REREAD]], [[Input|INPUT]], or [[Linput|LINPUT]] statements. | :2.) The length of the string expression in the I/O list is greater than the field width defined in the FORM statement's format specification. | ||
:3.) The length of an assigned-from string (B$ in A$=B$) is greater than the dimensioned length of the assigned-to string (A$). | |||
2.) The length of the string expression in the I/O list is greater than the field width defined in the FORM statement's format specification. | |||
3.) The length of an assigned-from string (B$ in A$=B$) is greater than the dimensioned length of the assigned-to string (A$). | |||
<noinclude> | <noinclude> | ||
[[Category:Error Conditions]] | [[Category:Error Conditions]] | ||
</noinclude> | </noinclude> |
Revision as of 18:02, 24 January 2013
The SOFLOW error condition can be specified at the end of a program statement, in an Exit statement, and in the ON error statement.
Error Traps:
SOFLOW traps the following three errors:
- 1.) The number of input data characters is greater than the defined length of the string variable used for assignment in READ, REREAD, INPUT, or LINPUT statements.
- 2.) The length of the string expression in the I/O list is greater than the field width defined in the FORM statement's format specification.
- 3.) The length of an assigned-from string (B$ in A$=B$) is greater than the dimensioned length of the assigned-to string (A$).