print \t (tab) to stdout

Wes James comptekki@REDACTED
Thu Dec 16 20:08:20 CET 2010


I was looking at

http://www.erlang.org/doc/man/io.html#format-1

to see if there is a way to output a \t or tab to stdout.  How is this
done?  When I put it in like this:

[io:format("#\tif i==~w:~n",[Value]) || Value <- lists:seq(2501,70100,2500)].

it puts 7 spaces in for the \t on the console.

thx,

-wes


More information about the erlang-questions mailing list