TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-245
#LINEJOIN Built-In Function
#LINEJOIN Built-In Function
Use #LINEJOIN to delete the end-of-line at the end of a specified line, thereby joining
the following line to it.
variable-level
is an existing variable level in which joining is to take place.
line-addr
is an integer or a variable level that contains an integer. line-add specifies the
line number from which the end-of-line is to be deleted. The line address must be
in the range from 1 to max-int, inclusive.
Result
#LINEJOIN returns nothing.
Considerations
If line-addr is equal to or greater than the number of the last line, no joining
occurs.
Lines are joined with no intervening new character.
You can use #CHARDEL to delete an end-of-line at a specific character position.
Examples
Assume that var is a variable level containing this:
ABCDEFG
HIJKLMNOPQRST
UVWXYZ
The invocation:
#LINEJOIN var 2
causes var to contain:
ABCDEFG
HIJKLMNOPQRSTUVWXYZ
#LINEJOIN variable-level line-addr