|
Application Programming: Files and Input/Output |
|
The T format code specifies the absolute position in the current record.
The syntax is:
Tn
where
|
n
|
is the absolute character position within the record to which the current position should be set (1 £ n).
|
The T format code differs from the TL, TR, and X format codes primarily in that it specifies an absolute position rather than an offset from the current position. For example,
PRINT, FORMAT = '("First", 20X, "Last", T10, "Middle")'
produces the following output:
FirstbbbbMiddlebbbbbbbbbbLast
where "b" represents a blank space.
IDL Online Help (March 06, 2007)