Computer Science Canada Question On Functions |
Author: | d2bb [ Fri Mar 09, 2007 12:30 pm ] |
Post subject: | Question On Functions |
K well, just got a noob error: functions must be declared at monitor or module level. any insite on this helps. ( i read a tutorial on this but didnt help. ) thx. |
Author: | Cervantes [ Fri Mar 09, 2007 1:01 pm ] |
Post subject: | RE:Question On Functions |
You probably tried to declare a function inside another function, or something similar. While this makes sense in some idioms, Turing doesn't allow it. There is no (easy) way (that I can think of) to make a function private to another function. |