[comp.lang.postscript] looking for loop control

phil@osiris.UUCP (Philip Kos) (05/25/88)

A quick question for those much more gurufied than I at the art of
generating legal PostScript...

I'm in a situation where I want to do something equivalent to a C "do {}
while (condition);" loop.. i.e. I want a loop to continue executing until
some dynamic condition is satisfied (or dissatisfied, depending).  The
loop should be executed at least once regardless of the condition.

Is there a basic PS construct that fits this need, or a simple way of
combining one or two?  The only loop control constructs I am very
familiar with are "beg inc end { } for" and "n { } repeat".  Answers
should probably be emailed, I can summarize for other interested parties.

If I don't hear from anyone soon I may find the answer myself, as I will
be ordering the complete set of Adobe PS books either tomorrow or
Thursday...

                                                                 Phil Kos
                                                      Information Systems
...!uunet!pyrdc!osiris!phil                    The Johns Hopkins Hospital
                                                            Baltimore, MD