Computer Science Canada Procedures Problem |
Author: | Naveg [ Wed Feb 23, 2005 6:08 pm ] |
Post subject: | Procedures Problem |
I have a number of procedures that need to be able to call each other. The problem is that it says some have not been declared because they come after. Here is an example Proc A,B, and C Proc A has to call both B and C both B and C have to be able to call A |
Author: | person [ Wed Feb 23, 2005 6:12 pm ] |
Post subject: | |
forward the second proc |
Author: | Flikerator [ Wed Feb 23, 2005 6:15 pm ] |
Post subject: | |
Declare all procs at the beggining and then call them afterwords. That way they are always declared ![]() |
Author: | person [ Wed Feb 23, 2005 6:17 pm ] |
Post subject: | |
Quote: Declare all procs at the beggining and then call them afterwords. That way they are always declared
u do realize that his procs have to call eachother so he cant declare them before, he has to use the forward command |
Author: | Naveg [ Wed Feb 23, 2005 6:29 pm ] |
Post subject: | |
person wrote: forward the second proc
Worked beautifully. Thank you |
Author: | Flikerator [ Wed Feb 23, 2005 6:33 pm ] |
Post subject: | |
person wrote: Quote: Declare all procs at the beggining and then call them afterwords. That way they are always declared
u do realize that his procs have to call eachother so he cant declare them before, he has to use the forward command I meant in general because you already answered it, sry should have clarified. |