Guest User

Untitled

a guest
Mar 13th, 2012
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 0.14 KB | None | 0 0
  1. %% Case
  2. case some_function(SomeArgument) of
  3.     Case1 ->
  4.         %% your code
  5.         ok;
  6.     Case2 ->
  7.         %% your code;
  8.     _ ->
  9.         %% "default" code
  10. end
Advertisement
Add Comment
Please, Sign In to add comment