Skip to main content

Command Palette

Search for a command to run...

while in the DuScript

Published
•1 min read•View as Markdown
P

I am a web developer with html , css , JavaScript , Node.js , c#. Bad designer.

while

while - a loop that checks the condition before each execution, and line breaking occurs through "&^" in the if block there cannot be a cycle, but in the while loop, the if block can be and if there is an if block in the while, line breaking occurs as usual through " ^".

while ([condition]) { 
    [body]&^
};

Sample:

while (1==1) {
    printl (1)&^
    if (2==1) {
        printl (2)^
    }&^
};

Will: 11111111111111111111111111111111111++