musique/examples/control-flow.mq
2022-10-27 00:27:41 +02:00

14 lines
149 B
Plaintext

say (if true 4 2);
say (if false 4 2);
if true (say 4) (say 2);
if false (say 4) (say 2);
n := 0;
while (n < 5) (
say 'while n;
n = n + 1;
);