WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Called WBTs and WBCs

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Testing Subroutines

Keywords:        test testing subroutines call called wbt

Question:

How do I test whether or not a subroutine has been called?

Answer:

No built in method. The best you can do is set a parameter or variable;

   ImCalling=@TRUE

   call("xxx.wbt","1 2 3")

   ImCalling=@FALSE
Then check the ImCalling variable with the IsDefined function.
Article ID:   W13187
Filename:   Testing whether or not a Call was Made.txt
File Created: 2001:01:03:09:00:52
Last Updated: 2001:01:03:09:00:52