Sample program.

This commit is contained in:
Manuel Friedli 2024-03-24 14:20:36 +01:00
parent 15b877a368
commit 8f8bb8f918
Signed by: manuel
GPG key ID: 41D08ABA75634DA1

View file

@ -0,0 +1,9 @@
// Program with comment
let x = 12;
let y = 2 * x;
y = y - 1;
if (y) {
exit (y);
} else {
exit (x);
}