[Gambas-user] Anybody have an example using DCOP?

Benoit Minisini gambas at ...1...
Wed Jan 11 07:55:37 CET 2006


On Wednesday 11 January 2006 06:19, Rob Kudla wrote:
> On Tue January 10 2006 21:56, johnf wrote:
> > I think the draw class appears the better way to go.  thanks
> > for the code...
>
> You're welcome.... Sorry about the infinite DO loop up there btw,
> you'll need an r.movenext in there somewhere.  (Up to my
> eyeballs in perl DBI programming, where the records are fetched
> as part of the test for EOF.)
>
> Rob
>

You have the choice... :-)

You can do:

WHILE rResult.Available
  ...
  rResult.MoveNext
WEND

Or you can do:

IF rResult.Available THEN
  DO
    ...
  WHILE NOT rResult.MoveNext()
ENDIF

Regards,

-- 
Benoit Minisini





More information about the User mailing list