HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Chapter 5 205
Reformatting Specifications
Globals Menu
— $US — unit separator
— $RS — record separator
Default = No terminator
If a record terminator is not specified, no special terminator is placed at
the end of output records.
You can combine any of the above terminators into a single terminator by
specifying them one after the other. For example: "end" $LF $CR or $120
"! " $CR or "ABC" "DEF".
Such multiple terminators are concatenated together to form a single
string that is inserted between fields. Note that blanks are optional except
between quoted strings where a separating blank is required. If a blank
does not separate quoted strings, the quote is included; for example:
"ABC""DEF" becomes ABC"DEF in the record.
Field Separator String A user-defined value to be inserted between all consecutive
fields in the output record. It will not appear after the last field in the
record, or before or after a constant. If two consecutive fields are assigned
specific column positions so that the second does not immediately follow
the first, the field separator is placed after the first field. For example,
suppose the field separator is, and the fields are defined as:
• FIELD 1 value = ABCD start column = 5
• FIELD 2 value = XYZ start column = 15
The output record for this example is shown below.
The separator may be a quoted string, a USASCII code, or a system
constant, as described above for the Record Terminator.
Unless a separator is specified, fields in an output record are not
separated, but are written as one continuous string of characters.
Default = No separator.
1234567891011121314151617
ABC D ** XY Z