ph_doloop PowerHome formula function
Description
Evaluates a PowerHome formula repetitively.
Syntax
ph_doloop ( formula, check )
Argument Description
formula A string containing the formula that you wish to have evaluated repetitively.
check A string containing a formula that determines when the loop should exit. If this formula evaluates to a number other than 0 then the loop will exit. The loop will also exit if it evaluates to a boolean false.
Return value
Integer. Returns a 0.
Usage
Use this function to perform formula evaluations repetitively. Note that the formula will always be executed at least 1 time. See also the ph_forloop and ph_whileloop functions.