Page 1 of 1

Insert TAB Character in batch application

Posted: June 29th, 2019, 9:16 pm
by leulae
Dear all

I need to output data as TAB delimited file, Export Data tool gives an option.

But I need insert some values calculated by the program and insert to output file.
In batch application I hope to use write function to create output file. The problem was how do I add TAB delimiter

Please kindly explain how do I add TAB character between each variable

eg
write ("%2d{tab}%s{tab}%2d{tab}%s",var1,var2,var3,var4);

Thanks in advance


Leulae

Re: Insert TAB Character in batch application

Posted: June 30th, 2019, 9:34 am
by josh
You just need to type a tab character using the tab key on the keyboard. Tab characters passed to the write statement will be written to the file as tab characters.