FL: for loops (execute a statement multiple times)
Syntax
fl(init, stop, increment, loop, [sep])Arguments
- init: First value of the i variable
- stop: Condition valuue to meet in order to stop, eg 10
- increment: Increment formula, eg i + 1
- loop: Repeat formula or value, i will be replaced with the var
- sep: Optional separator between elements
Examples
Formula | Description |
---|---|
$fl(5, 20, "i + 1", "i", " ")$ | Write numbers from 5 to 20 spaced |
$fl(1, 7, "i + 1", "df(EEE, a + i + d)")$ | Write short name of next 7 days |
$fl(1, tu(seq, 1, 1, 10), "i + 1", "#")$ | Shows from 1 to 10 # symbols, adding one every minute |