It's UWAweek 42 (2nd semester, week 12)

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


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

Login to reply

👍?
helpful
4:56pm Fri 6th Sep, Joshua N.

ANONYMOUS wrote:
> Taking this into consideration from the ml language: > > 6. there will be at most 50 unique identifiers appearing in any program > > lets just say a variable within a function is introduced, and then is set out of scope when exiting the function. The variable technically does not exist, does this still count towards the 50? as in there needs to be a max 50 in total, or just 50 concurrently > > > function addwithb a > b <- 10 > return a * b > > #b no longer exists outside the function
Hi
>From my understanding, Chris said "appearing" so, you should only see at most 50 unique identifiers in a single ml file. So, in the case above b would count towards the total.

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