Script functions reference > Script functions in alphabetical order > S > Skip

Skip
Syntax
Skip();
Description
Skips the current operation, i.e. the operation to which the script is associated. It can also be used to skip Events, Processes, blocks and fields.
The function is useful for more complicated tests than a rule allows for. For example, the function can be used for suppressing page numbers on one-page printouts.
Note:
The script that contains the skip()function is fully executed including functions invoked after the skip()call.
Limitations
You can not use this function to skip Free Blocks. To conditionally render Free Blocks, you can e.g. create a script After Block that uses CallBlock("FreeBlock").
Returns
0
-1
Example
if(num($count)>15)
{
skip();
}
OpenText StreamServe 5.6 Updated: 2013-03-01