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

Username:   Password: 
 RegisterRegister   
 Calling a new procedure within a procedure??
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Archi




PostPosted: Sat Jun 21, 2003 11:52 pm   Post subject: Calling a new procedure within a procedure??

How can I call a new procedure while currently in a procedure?
Sponsor
Sponsor
Sponsor
sponsor
krishon




PostPosted: Sun Jun 22, 2003 10:31 am   Post subject: (No subject)

um...just do it normally...write out the procedure at the top and then call it..u just need to order them correctly, otherwise it won't work
Mephi




PostPosted: Sun Jun 22, 2003 1:38 pm   Post subject: (No subject)

yea make sure the one being called is before the one calling it
Andy




PostPosted: Mon Jun 23, 2003 3:41 pm   Post subject: (No subject)

ya turing's gay, it won't let u call on a proc unless its defined before the section where u activate it
Catalyst




PostPosted: Mon Jun 23, 2003 3:46 pm   Post subject: (No subject)

theres always forwards as in

code:
forward proc One (x:int)

...

body proc One (x:int)
put x
end One
Andy




PostPosted: Mon Jun 23, 2003 3:48 pm   Post subject: (No subject)

whoa cool, thnx catalyst
AsianSensation




PostPosted: Mon Jun 23, 2003 3:51 pm   Post subject: (No subject)

whoa..... Shocked didn't know turing could do that, thought only c++ could.....man, this could be so useful for my game.....

anyways, thanks catalyst
Andy




PostPosted: Mon Jun 23, 2003 4:00 pm   Post subject: (No subject)

ya u could've made ur mario worms way better... but oh well its still good
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  [ 8 Posts ]
Jump to:   


Style:  
Search: