Skip to main content

cmd_while

Function cmd_while 

Source
pub fn cmd_while<Ctx>(interp: &mut Interp<Ctx>, argv: &[Value]) -> MoltResult
Expand description

§while test command

A standard “while” loop. test is a boolean expression; command is a script to execute so long as the expression is true.