====== goto ====== ===== Description ===== Transfer script execution to the specified script line. Note line numbers start at 0. ===== Function prototype ===== void goto ===== Arguments ===== ^ Name ^ Type ^ Comment ^ | line | int | The zero-based line number to which execution should be transferred. | ===== Return value ===== None (void). ===== Example ===== goto 3 // jump to line #3 echo "1" echo "2" echo "3" // goto should jump to this line echo "4" ... the output of which is written to the event log by [[plugins:general:zeoscript:reference:functions:echo]] as: 3 4 ===== Comments ===== See [[http://portal.acm.org/citation.cfm?doid=362929.362947|Go To Statement Considered Harmful]]. ===== See also ===== * [[plugins:general:zeoscript:reference:functions:if]] * [[plugins:general:zeoscript:reference:functions:do]] * [[plugins:general:zeoscript:reference:functions:GetLineNo]]