Hi Erlang freaks,
I need OR within an case clause. Something like:
case Name of
peter OR klaus OR carsten ->
io:format("Is a man~n",[]);
anna OR birgit OR petra ->
io:format("Is a woman~n", []);
Other ->
io:format("Is a Zombie~n", [])
end.
Is this possible, and if, how is the syntax.
Thanx a lot,
Nico.