V: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The V format specification identifies string data. It is a highly versatile specification in that it can be used with both types of FORM statements (for internal/external ...") |
No edit summary |
||
Line 10: | Line 10: | ||
00020 FORM C 8,C 3 | 00020 FORM C 8,C 3 | ||
NOTE that the leading space in " ABC# " is retained: | |||
ABC DEF | ABC DEF |
Revision as of 01:31, 21 February 2013
The V format specification identifies string data. It is a highly versatile specification in that it can be used with both types of FORM statements (for internal/external files and for display files), and it can be used with the full screen processing statements.
- Input characteristics
For string input, V removes all trailing spaces when reading in a value.
- Output characteristics
When V is used for output, leading spaces are retained but blanks are padded on the right, as in the following example:
00010 PRINT USING 20: " ABC","DEF" 00020 FORM C 8,C 3
NOTE that the leading space in " ABC# " is retained:
ABC DEF