Author |
Message |
Vivi1212
|
Posted: Wed Jan 21, 2004 6:23 pm Post subject: Can you make a procedure with procedures in it? |
|
|
i am trying to make a procedure witha procedure in it, is it possible or do i need to make it a process with procedures in it or am i just trying to attampt to do something Turing cant do again?
sorry to bother you guys again, but thanks for the help |
|
|
|
|
|
Sponsor Sponsor
|
|
|
shorthair
|
Posted: Wed Jan 21, 2004 6:24 pm Post subject: (No subject) |
|
|
you should never need to make a procedure in a procedure , and i do not belive it is possible , in fact i know its not possible ,let us know what your trying to do , mabye i can help you out |
|
|
|
|
|
sport
|
Posted: Wed Jan 21, 2004 6:38 pm Post subject: (No subject) |
|
|
You can not make a procedure inside a procedure, but you can call a procedure inside a procedure. Here is an example
code: |
proc hello
put "Hello"
end hello
proc how_are_you
put "How are you?"
end how_are_you
proc Put
hello
how_are_you
end Put
Put
|
|
|
|
|
|
|
Vivi1212
|
Posted: Wed Jan 21, 2004 7:16 pm Post subject: (No subject) |
|
|
giggity giggity, thanks sport, i asked my comp sci teach the same question he said "yeah you can make a proc withing a proc" then i tried at home while working on my project....and it wouldnt work. Man, you guys are awesome at what you do |
|
|
|
|
|
Cervantes
|
Posted: Thu Jan 22, 2004 6:38 pm Post subject: (No subject) |
|
|
if you could make a proc within a proc, how oh how would you call it?? |
|
|
|
|
|
AsianSensation
|
Posted: Thu Jan 22, 2004 7:46 pm Post subject: (No subject) |
|
|
you can't make a proc in a proc, but you can make a proc in a module or a class and export it. |
|
|
|
|
|
Andy
|
Posted: Thu Jan 22, 2004 7:52 pm Post subject: (No subject) |
|
|
yea do classes |
|
|
|
|
|
|