RosettaCodeData/Task/Loops-While/NetRexx/loops-while.netrexx

12 lines
209 B
Plaintext

/* NetRexx */
options replace format comments java crossref savelog symbols nobinary
say
say 'Loops/While'
x_ = 1024
loop while x_ > 0
say x_.right(6)
x_ = x_ % 2 -- integer division
end