protocol
Loop control structures protocol.
Paulo Moura
1.1
2006/9/17
static
(no dependencies on other files)
Do Action while Condition is true.
static
dowhile(Action, Condition)
dowhile(::, ::)
dowhile(+callable, @callable) – zero_or_one
Counting from First to Last do Call.
static
forto(First, Last, Call)
forto(*, *, ::)
forto(+integer, +integer, @callable) – zero_or_one
Do Call counting from First to Last and instantiating Count to each sucessive value.
static
forto(Count, First, Last, Call)
forto(*, *, *, ::)
forto(-integer, +integer, +integer, @callable) – zero_or_one
Counting from First to Last do Call.
static
fordownto(First, Last, Call)
fordownto(*, *, ::)
fordownto(+integer, +integer, @callable) – zero_or_one
Do Call counting from First to Last and instantiating Count to each sucessive value.
static
fordownto(Count, First, Last, Call)
fordownto(*, *, *, ::)
fordownto(-integer, +integer, +integer, @callable) – zero_or_one
While Condition is true do Action.
static
whiledo(Condition, Action)
whiledo(::, ::)
whiledo(+callable, @callable) – zero_or_one
(none)
(none)