Home Home Features FAQ Pricing About Us Contact Us Control Panel Web Site Monitoring: Website Monitor & Server Monitoring
Web Server Monitoring

gosub

Cause execution of the script to jump to a given label in the script. Script labels are created by placing a ":" and then the name of the label. Label names must start with a character and cannot have spaces.

'gosub' differs from goto in that you can return from a 'gosub' call and resume script execution with the next command after the 'gosub'.

usage: gosub [label]

parameters:

req name type description
Y label literal The script label to jump to.

examples

gosub check_site

Assuming the script contains a label ":check_site", execution of the script will continue with the line after the label.


Alertra Script Language: Language Reference


Website Monitoring · Features · FAQ · Pricing · About Us · Contact Us

Website Monitor · Website Monitoring Service · Site Monitoring · Monitoring Service · Web Site Monitoring