Posted By

shian on 09/10/10


Tagged

erlang


Versions (?)

escript main


 / Published in: Other
 

  1. -module(prog).
  2.  
  3. -export([main/1]).
  4.  
  5. main([H|T]) ->
  6. io:fwrite("arg: ~s~n", [H]),
  7. main(T);
  8. main([]) -> ok.

Report this snippet  

You need to login to post a comment.