Re: scan....endscan problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



To, this is an example of just how convoluted and incomprehensible xbase can
get. Could you post a few rows and columns of the table Abc and the table
Def and what the end result should be?

-Anders

"Patrick" <someone@xxxxxxxxxxxxx> wrote in message
news:%23vTWSJHPIHA.4440@xxxxxxxxxxxxxxxxxxxxxxx
I have the following sample working program:

sele 1
use abc
do while not eof()
ma = a
sele 2
use def
do while not eof()
mb = b
mc = recno()
skip
scan for apple = ma while empty(dog)
replace boy with mb, increment with recno() - mc
endscan
enddo
sele 1
skip
enddo

My problem is that is it possible to terminate the scan...endscan loop
when apple <> ma, or only process the
scan...endscan loop in specific scope???

Thanks!

Patrick



.



Relevant Pages

  • scan....endscan problem
    ... do while not eof() ... scan...endscan loop in specific scope??? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: functions that halt
    ... Actually while is allowed if it can be 'calculated' that the loop terminates. ... >> You might not see a problem but the diagonalisation proves squat, ... G simply won't halt. ...
    (comp.theory)
  • Re: "WAIT" command?!
    ... perform xyz. ... If I have this "go to abc", ... When you set up your events and specify which events you are interested in ... Try not to worry about executing the "main loop" as you might in a normal ...
    (comp.lang.cobol)
  • Re: Coming back to Basic after many years
    ... middle of a loop is worse than using GOTO/GOSUB in my book. ... It doesn't matter where in the procedure the ENDPROC is found ... I suspect that ABC, however, produces broken leaky code, as it's not ... even if, in theory, the procedure should always exit at some earlier ...
    (comp.sys.acorn.apps)
  • Re: Give me link on this fotran problem
    ... imliment this program without using array and Do loop for abc x1,x2,d help me out with this problem thanks ... I enjoy being lazy as much as you do. ...
    (comp.lang.fortran)