Passing arguments to a script
Usage: sol ex_main [some parameters]
Unlike the for .. in, that reads each element of
a sequence into a variable, scan points out each of them, and each may
be read or modified, as the [] empty subscripting designates the current element.
int main(array arglist,
int argnum)
print argnum, "arguments"
int i = 0
scan arglist `
scan the array
print "$i)",
arglist[] ` display the next argument
i + 1
/scan
return 0
main($argv, $argc) ` argv and argc are Php variables directly
used.