I do love it when someone is *subtle* about it...
From the erlang FAQ:
"""
The solution is usually to use case instead. Case is used much more
frequently than if in most Erlang programs:
issue_warning() ->
case os:type() of
{win32, windows} ->
ok = io:fwrite("you are using windows\n");
_ -> ok = io:fwrite("no problem\n")
end.
"""
I even read that a couple times before I realized it was a bash. :-)
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|