Closed chrisaycock closed 4 years ago
We want to take command-line arguments.
if len(argv) == 1 print("Incorrect number of arguments") exit(1) end
argv must be constructed before invoking the user's file. As for exit(), that must cause Empirical to return the desired code.
argv
exit()
We want to take command-line arguments.
argv
must be constructed before invoking the user's file. As forexit()
, that must cause Empirical to return the desired code.