It's UWAweek 4

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 835 articles.
Currently no other people reading this forum.


SVG not supported

Login to reply

👍?
helpful
9:09pm Thu 12th Sep, Joshua N.

ANONYMOUS wrote:
> Hi, Thanks for replying! I have another question, if comment is inside a function definition does it have to start with a tab character? > > My question was more about if I can completely rely on the tab character to mark the end of function definitions.
I believe Chris said either in the forum or the project sheet that all statements must start at the lefthand most side of the file unless it is a statement in a function. Not sure where a comment could appear (because technically comments aren't "part" of the function definition). You could just check if the first character is either a tab or a comment (if a comment just ignore the line), otherwise if a tab process as normal (if you see a comment then ignore the rest of the statement).

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