Question On Functions
Author |
Message |
d2bb
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
|
|