It's UWAweek 38 (2nd semester, week 8)

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 3 articles in this topic
Showing 3 of 493 articles.
Currently 3 other people reading this forum.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
1:15pm Mon 2nd Sep, Zexu D.

Do we need to support a syntax like this?


x<-x+2

x<--1

Or only with legal in space-between:


x <- x + 2

x <- -1


SVG not supported

Login to reply

👍?
helpful
1:51pm Mon 2nd Sep, Yanchen Y.

I think they are definitely legal statements. Maybe the only illegal ones are:

function <- 1

or

print <- 1

Because both print and function are reserved keywords, they are not supposed to be used as variable name.


SVG not supported

Login to reply

👍?
helpful
1:58pm Mon 2nd Sep, Joshua N.

Hi, your question is answered here:

https://secure.csse.uwa.edu.au/run/help2002?p=np&opt=U145

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