Loops/While: Difference between revisions

add BQN
(Added solution for Action!)
(add BQN)
Line 590:
num = num / 2
end</lang>
 
=={{header|BQN}}==
 
BQNcrate's while idiom is the closest equivalent of a while loop in the language.
 
<lang bqn>_while_ ← {𝔽⍟𝔾∘𝔽_𝕣_𝔾∘𝔽⍟𝔾𝕩}
 
(⌊∘÷⟜2 •Show) _while_ (>⟜0) 1024</lang>
 
=={{header|Bracmat}}==
236

edits