Formatting
All checks were successful
build / build (push) Successful in 38s
build / deploy (push) Successful in 17s

This commit is contained in:
Jarkko Toivanen 2025-02-06 20:41:24 +02:00
parent 88ec4b2af4
commit 7afdeaf088

View file

@ -9,27 +9,27 @@ into assembly.
## if ## if
else is just a part you jump over in assembly lol, so EZ XD else is just a part you jump over in assembly lol, so EZ XD
''' ```
if (condition) { if (condition) {
... ...
} else { } else {
... ...
} }
''' ```
## loop ## loop
We have only a single type of loop where you are responsible to decide when We have only a single type of loop where you are responsible to decide when
to check and how to exit. Break is just a goto:after-loop ? to check and how to exit. Break is just a goto:after-loop ?
''' ```
loop { loop {
... ...
if (condition) { if (condition) {
break; break;
} }
} }
''' ```
## func, label ... ## func, label ...