Direct_Input and Tab << Back



This is something that is documented in the Help, but I didn't know about it until recently. When doing "Direct_Input", if you specify the word "BINARY", the Read/Readln command will not convert "Tab" characters into spaces. Here is an example to copy a file line by line.

String sLine
Direct_Output "Output.txt"
Direct_Input "Binary:Input.txt"
While (Not(SeqEof))
	Readln sLine
	Writeln sLine
Loop
Close_Input
Close_Output
Free Web Hosting