Advertisement

04.28.2005 at 07:27AM PDT, ID: 21405845
[x]
Attachment Details

subroutines inside subroutines

Asked by zeybrandt in Active Server Pages (ASP)

Tags: subroutines

In my script I have a loop that loops out matches. For each match a subroutine match() is run. Inside match() two other subroutines are called for: result() and test().

Now to the question:

If I write the code in result() and test() directly in match() instead of calling for them, the code works perfectly. BUT the code gets huuuuge.

If I call the subroutines in match(), the code does not work!

What is the problem?

PS The code is too big to include it here DSStart Free Trial
 
Loading Advertisement...
 
[+][-]04.28.2005 at 08:04AM PDT, ID: 13886481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.28.2005 at 07:59PM PDT, ID: 13891778

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2005 at 12:04AM PDT, ID: 13892458

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2005 at 01:12PM PDT, ID: 13897739

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Tags: subroutines
Sign Up Now!
Solution Provided By: Coolhand2120
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.29.2005 at 01:16PM PDT, ID: 13897770

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.02.2005 at 04:45AM PDT, ID: 13908149

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2005 at 05:54PM PDT, ID: 13914165

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32