TL Format Code

Available Format Codes

The TL format code moves the current position in the external record to the left.

The syntax is:

TLn 

where

n

is the number of characters to move left from the current position (1 ≤ n). If the value of n is greater than the current position, the current position is moved to column one.

The TL format code is used to move backwards in the current record. It can be used on input to read the same data twice or on output to position the output nonsequentially. For example,

PRINT, FORMAT = '("First", 20X, "Last", TL15, "Middle")' 

produces the following output:

FirstbbbbbbbbbMiddlebbbbbLast 

where "b" represents a blank space.