Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:scripting_portal:advflowctl [2018/10/14 13:53] (current)
Royale Mobian created
Line 1: Line 1:
 +====== YEngine advflowctl ======
  
 +Provide advanced flow-control statements similar to other programming languages.
 +
 +Enabled by: ''​yoption advflowctl;''​
 +
 +^ Keywords: ^
 +| break |
 +| case |
 +| constant |
 +| continue |
 +| switch |
 +| ... |
 +| : |
 +| &&&​ |
 +| ''​|||''​ |
 +
 +''​break'' ​ : valid in ''​do'',​ ''​for'',​ ''​foreach'',​ ''​switch'',​ ''​while''​ ''​continue''​ : valid in ''​do'',​ ''​for'',​ ''​foreach'',​ ''​while''​
 +
 +''&&&''​ : provides short-circuiting AND operation ​
 +
 +
 +''​|||''​ : provides short-circuiting OR operation ​
 +
 +
 +''​constant''​ usage as follows: ​
 +
 +
 +''​switch''​ usage as follows :
 +
 +
 +the switch statement is also valid for string expressions,​ for example: ​
QR Code
QR Code wiki:scripting_portal:advflowctl (generated for current page)