Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This command changes the execution flow of script commands.
Syntax
goto [ label ] |
Parameters
- label
-
Specifies the label to branch to. Labels are specified as in MS-DOS batch files by starting a line with a colon followed by the label's name.
Remarks
The following code example shows the use of the gotocommand to change the flow of execution to a label in the case where a particular package is not installed:
Copy Code | |
---|---|
if boolean `pkginstalled Sample` == FALSE echo "Package not installed!" goto error endif echo "No Error!" quit :error echo "Package Sample not installed!" |
See Also
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.