It's UWAweek 47

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


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

Login to reply

👍?
helpful
8:35pm Wed 11th Sep, Joshua N.

"Chenjun Hou" [email protected] wrote:

Hi,

Just a few questions about functions: What should happen if a top level variable shares the same name as a function? Is this disallowed by ml like it is in C?

Identifiers and functions shouldn't have the same name.

Also, is it possible to pass a function as a parameter to a function, if it is, how would we implement this?

Syntax of ml allows this. You should be able to just copy the function call into c and it would work.

Thanks in advance.

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