[Gambas-user] Return values for gb.db Results

Rob sourceforge-raindog2 at ...94...
Wed Mar 17 20:20:30 CET 2004


On Wednesday 17 March 2004 12:34, Rich Falconburg wrote:
>   Thanks.  As I said, I'm a bit rusty.  Should have caught
> that one.  BTW, shouldn't this work with WHILE as in
>   WHILE rResult.MoveNext()

It works the opposite as you would expect, returning False when 
it succeeds and True when it reaches the end of file.

WHILE NOT rResult.MoveNext()

I learned this idiom myself recently.

Rob





More information about the User mailing list