It's UWAweek 47

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 828 articles.
Currently 92 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
10:33pm Thu 12th Sep, Joshua N.

ANONYMOUS wrote:

means that in the ml file the parameters will be initialized as follows. arg0 = 1 arg1 = 2 arg2 = 3

okay, so I can assume that the arguments will be accessed under the alias arg0, arg1, .... and not under any other name correct? but wouldn't this contradict the statement where identifier names can only include lowercase alphabetic order?

Technically they're not considered "identifiers" just "variables". So, in other words, they're an exception to the rule. As stated in the project description: "8.the variables arg0, arg1, and so on, provide access to the program's command-line arguments which provide real-valued number."

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy