While-EndWhile loops

Hey @joost_mineur,

The best approach to this would be to implement an iterator table (see Demo 2):

By making a pair of buttons that click each other you can implement a while loop. I discovered that trick first here. It then became the foundation of many further tricks.

A while loop implementation with a column formula (not an action) is also possible, although the implementation relies on forcing a recalc on a cell that might break whenever Coda changes their under-the-hood algorithms for dependency graph resolution and circular calculation prevention.

2 Likes