until

execute action until the given condition is not false or null


Parameters

until action :block :bytecode
      condition :block :bytecode

Returns

  • :nothing

Examples

copy
i: 0 until [ print ["i =>" i] i: i + 1 ][i = 10] ; i => 0 ; i => 1 ; i => 2 ; i => 3 ; i => 4 ; i => 5 ; i => 6 ; i => 7 ; i => 8 ; i => 9

Related