This module is retained for compatibility. It may disappear without warning in a future release.
Flushes the message buffer of the current process.
Prints error message
Returns the name of the script that started the current Erlang session.
Removes the last newline character, if any, in
This function to makes it possible to send a message using
the
As
sendw(To, Msg) ->
To ! {self(),Msg},
receive
Reply -> Reply
end.
The message returned is not necessarily a reply to the message sent.