When the [User Defined Functions] include "return"
The processing of the function is terminated and the control returns to the caller of the function.
When Run (main Function) includes "return"
The processing of the main function is momentarily aborted, and is restarted from the start of the main function.
The Assign "=" character cannot be used in a conditional expression.
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