while
Loop until condition false
while
loops until loops until condition is false.
Normally the conditional and executed code block are 2 separate parameters however you can call while
with just 1 parameter where the code block acts as both the conditional and the code to be ran.
Until true
while { condition } { code-block } -> <stdout>
while { code-block } -> <stdout>
Until false
!while { condition } { code-block } -> <stdout>
`` !while { code-block } ->
» let i=0; while { let i=i+1; = i>=5; out }
true
true
true
true
false
while
!while
err
: Print a line to the STDERRfor
: A more familiar iteration loop to existing developersforeach
: Iterate through an arrayformap
: Iterate through a map or other collection of dataglobal
: Define a global variable and set it's valuelet
: Evaluate a mathematical function and assign to variableout
: Print a string to the STDOUT with a trailing new line characterset
: Define a local variable and set it's valueThis site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Mon May 23 22:12:14 UTC 2022 against commit b81828ab81828a7ff621aa4b9554e6509f225a315a126fe.
Current version is 2.8.2100 BETA which has been verified against 15889 tests.