22.11.11.5 return

The processing of the function is terminated and the control returns to the caller of the function.

The processing of the main function is momentarily aborted, and is restarted from the start of the main function.

Example expression:

[w:[#INTERNAL]LS0100]=([w:[#INTERNAL]LS0200]>> 8) & 0xFF
if ([w:[#INTERNAL]LS0100]==0) // When LS0100 is 0, does not run subsequent processes.
{
 set([b:[#INTERNAL]LS005000]) // Turn ON the display error trigger bit
 return                       // end
}
endif