Incode Systems Home Page Incode Systems, Inc.


(Page) Read Tab Data .RT



Syntax: .RT Var1,Var2,Var3, ... VarN[,]

Reads tab delimited fields from opened data file into the variable(s) named. Fields length is limited to 255, but record length is unlimited.

If command contains more variables than the record, the remaining variables are set to empty strings.

If there are remaining fields in the record after all Vars are used, the remaining fields are discarded, unless the last variable is followed by a comma.

Examples:

.rt A,B,C,D

Above reads in the first 4 variables from the first record, then discards the remainder of any remaining fields in that record.

.rt A,B,C,D,

Above reads in the first 4 variables from the first record without discarding the remainder of any remaining fields in that record. The next .RT command will start reading the 5th field in the record.

This command ignores .FI commands.