Matt, that is the correct syntax, and it compiled OK on my machine. Does the code immediately above that line look correct? I'm wondering if the compiler is encountering problems in the line above and it is showing up in the line you posted instead. aspect@aspectscripting.com
According to the help on WHEN statements (Procomm 4.7) the call "The called procedure must not require any parameters."
I also have found that while a function can be used in place of a procedure no value can be received back into the WHEN statement call.
If there is any way to do these things I am also interested.
I guess all that can be done otherwise is use GLOBAL variables.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.