It's UWAweek 37 (2nd semester, week 7)

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 the 2 articles in this topic
Showing 2 of 409 articles.
Currently 5 other people reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful
2:17pm Mon 26th Aug, ANONYMOUS

Regarding whitespace, can I assume the following?

  • Whitespace can only appear at the beginning of a line if it is a tab under a function definition
  • Whitespace must appear between words in print expression, return expression, and function identifier ( identifier )*
  • Otherwise, whitespace can (but doesn't need to) appear anywhere else

Also, can it be assumed that return expression can only appear within a function definition?


SVG not supported

Login to reply

👍x1
helpful
4:48pm Mon 26th Aug, Christopher M.

ANONYMOUS wrote:
> Regarding whitespace, can I assume the following? > - Whitespace can only appear at the beginning of a line if it is a tab under a function definition > - Whitespace must appear between words in `print expression`, `return expression`, and `function identifier ( identifier )*` > - Otherwise, whitespace can (but doesn't need to) appear anywhere else
Yes, all true, though the project won't be tested on these finer points of our tersely defined language.
> Also, can it be assumed that `return expression` can only appear within a function definition?
Yes.

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