V4REV -- does Livecode has do - while loop ???
    Ruslan Zasukhin 
    ruslan_zasukhin at valentina-db.com
       
    Sat Dec 17 11:25:31 CST 2011
    
    
  
On 12/17/11 3:38 PM, "Mike Bonner" <bonnmike at gmail.com> wrote:
> Look at repeat, using loop form "while". 
> No dot notation for things as far as I know though. 
I did look. But it looks as
    repeat while cursor.NextRecord()
    end repeat
This is not what we need.
FirstRecord() move us to the first record.
We need now work with first record
And do NEXT   at the end of loop.
Look my example code below please.
> On Sat, Dec 17, 2011 at 3:02 AM, Ruslan Zasukhin
> <ruslan_zasukhin at valentina-db.com> wrote:
> Hi LiveCode users,
> 
> I have read docs of Livecode and I do not see form of loop as
> 
>     curs.FirstRecord()
> 
> 
>     do
>             --  read fields
> 
>     while (  cursor.NextRecord()  )
-- 
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