SOFLOW: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
See also [[Soflow (disambiguation)]]. | |||
The SOFLOW error condition can be specified at the end of a program statement, in an Exit statement, and in the ON error statement. | 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:=== | ===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> |
Latest revision as of 19:11, 16 October 2013
See also Soflow (disambiguation).
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$).