a few minutes ago I was attempting to explain to someone how to use nested while loops, and after trying to paste a one-liner and not getting the expected output, I put it into an alias spaced out properly, and it worked.
from the code below, /suh doesn't work as expected, but /suh2 does.
alias suh { var %i = 1 | while (%i <= 5) { var %x = 1 | while (%x <= 5) { echo -a %i %x | inc %x } | inc %i } }
alias suh2 {
var %i = 1
while (%i <= 5) {
var %x = 1
while (%x <= 5) {
echo -a %i %x
inc %x
}
inc %i
}
}