The skipto command causes the shell to ignore all subsequent
commands until a here command is encountered.
Syntax : skipto = "skipto"
The skipto/here mechanism was created to allow groups of
regression tests to be skipped during debugging without having
to comment them out. It is like a cut price goto. For example,
supposing that there were eight tests and that you had debugged
the first five. You might want to skip the first five tests so that
you can concentrate on the next three. The following code
shows how this can be done.
execute test infile1
execute test infile2
execute test infile3
execute test infile4
execute test infile5
execute test infile6
execute test infile7
execute test infile8
It should be stressed that FunnelWeb performs full command
line processing including the dollar substitutions before testing
the line to see if it is here. This can lead to non obvious
problems. For example.
! Test the Parser
define X "execute parsertest.fws"
http://www.ross.net/funnelweb/reference/commands_skipto.html (1 of 2) [3/3/2000 10:45:18 PM]