Posted: 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
Sponsor Sponsor
person
Posted: Wed Feb 23, 2005 6:12 pm Post subject: (No subject)
forward the second proc
Flikerator
Posted: Wed Feb 23, 2005 6:15 pm Post subject: (No subject)
Declare all procs at the beggining and then call them afterwords. That way they are always declared
person
Posted: Wed Feb 23, 2005 6:17 pm Post subject: (No 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
Naveg
Posted: Wed Feb 23, 2005 6:29 pm Post subject: (No subject)
person wrote:
forward the second proc
Worked beautifully. Thank you
Flikerator
Posted: Wed Feb 23, 2005 6:33 pm Post subject: (No 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.