It's UWAweek 45 (2nd semester, 2nd exam week)

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 827 articles.
Currently 1 other person reading this forum.


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

Login to reply

👍?
helpful
12:33am Sat 14th Sep, ANONYMOUS

This is a repost of a previous question [help2002] , is the following code permitted?
function add a b
	return a + b
#
function two
	return 2
#
print add(1, two())


SVG not supported

Login to reply

👍?
helpful
7:10am Sat 14th Sep, Joshua N.

ANONYMOUS wrote:
> This is a repost of a previous question [help2002] , is the following code permitted? > > > ``` > function add a b > return a + b > # > function two > return 2 > # > print add(1, two()) > ```
Yes, the ml syntax allows it.

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