Reputation: 809
I have the following line:
io:format("~p~n",[<<40,45,50,51>>]).
It will outout
<<"(-23">>
How can I force it to print as <<40,45,50,51>> ?
Upvotes: 2
Views: 207
Reputation: 2852
> io:format("~w~n",[<<40,45,50,51>>]).
<<40,45,50,51>>
Here is controls sequences for output.
Upvotes: 4