Navigation:  Click-Script Guide > Reference > Clauses >

Goto

Previous pageReturn to chapter overviewNext page

Jumps to a specific label in current event.

 

Syntax:

goto  Labels name

 

Parameters:

Label's name

The name of the label that defines the point you want to jump.

 

Example:

//  Check a password
Password :
Get/Show Information ( Result =  %Password% , Title =  Password , Message =  Type the password: , Buttons =  OK , Show Input =  True )
if  ( "%Password%" != "1234567890" )  {
      Show Message ( Title =  Password , Message =  Invalid password, please try again! , Icon =  WARNING )
      goto  Password
}  end if