V4REV -- does Livecode has do - while loop ???

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Sun Dec 18 02:30:20 CST 2011


On 12/18/11 12:28 AM, "Bernard Devlin" <bdrunrev at gmail.com> wrote:

> I think this does what you want.  But the idea of starting a loop with
> "repeat forever" may give you hives :)
> 
> function getListFromValCursor2 pValCursorPointer
>    get VCursor_FirstRecord( pValCursorPointer )
>    repeat forever
>       -- code snipped
>       if VCursor_NextRecord( pValCursorPointer )  is false then exit repeat
>    end repeat
>    return tActionsPerformedWithCursor
> end getListFromValCursor2

Yes, this style works.
Thank you.

I will add it into  PDF now ...


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list