Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Question On Functions
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
d2bb




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: