It's UWAweek 3

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 4 other people reading this forum.


SVG not supported

Login to reply

👍?
helpful
8:48am Tue 3rd Sep, Daniel J.

If we pass a function into another function as an argument, is it expected that we can call it, or should it be treated as an un-declared variable, ie 0?
function add a b
    return a + b()

function two
    return 2

print add 1 two
Should this produce 3, or should this be a syntax error (cannot call literal)?

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