Closed marekjm closed 8 years ago
Right now, main is the only function for which arity may be unspecified.
main
Main function comes in different versions:
main/0
main/1
main/2
Right now,
main
is the only function for which arity may be unspecified.Main function comes in different versions:
main/0
: no parameters,main/1
: vector with commandline parameters (name of the program as first element),main/2
: two parameters: first, a string with program name, and second, vector with commandline parameters (without program name),