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

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Sun Dec 18 10:06:56 CST 2011


On 12/18/11 5:55 PM, "Robert Brenstein" <rjb at robelko.com> wrote:

> On 18.12.2011 at 10:30 Uhr +0200 Ruslan Zasukhin apparently wrote:
>> Yes, this style works.
>> Thank you.
>> 
>> I will add it into  PDF now ...
>> 
> 
> The difference between the two versions is only when the cursor has a
> single record. One version will not process that record. However, the
> other version handles properly the situation when cursor has no
> records, so neither version is complete as quoted.

Hi Robert,

Well, in PDF I have made

    if firstRecord

        repeat forever
            ...

            if NextRecord = false then exit

        end repeat
    endif


Looks to be right logic



-- 
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