| || |
How to call a script like a subroutine
I have a script that I want to call like a subroutine at times instead of using the CallScript command (Mainly because sometimes I want it to show in the log and other times I want to leave out the Script Start, Call Script, Script end lines in the log).
I thought I read how to do this but I can not find the answer now.
Re: How to call a script like a subroutine
Start a new .sbh include file. Create a function or subroutine there you wish to call from your script. In you main script, use the $include command to make the .sbh file available. This is the basics, more information is in the help files if you search for function, subroutine and $include.
If you already knew this and just want to kill the messages, maybe SQASuspendLogOutput command is what you need. Also, SQAResumeLogOutput.
[ 02-22-2006, 09:14 AM: Message edited by: cyblue ]