Subject | Re: [firebird-support] Repeat Until construct? |
---|---|
Author | Helen Borrie |
Post date | 2007-11-19T22:32:07Z |
At 03:22 AM 20/11/2007, you wrote:
./heLen
>I don't see a way in PSQL to have a looping construct that checks theYes - "repeat until" *is* a WHILE loop. Declare a local variable, e.g. a counter, or a number or string that gets updated inside the loop if it's data values that you want to predicate on. Initialise the variable before starting the WHILE and make the variable's value (or NOT value) the condition of the WHILE. Then you have "repeat until". :-)
>conditon after the code executes vs a WHILE loop. Does such a thing
>exist that I've missed?
./heLen