Re: Procedures, update file and dowhile loop
ok
doing a debug, and for my surprise:
in some time the dowhile ended, but.. when? .......after reading the whole file twice!!
Clearly:
- first time procedure call, reads and updates all records on file once, obviously, ok.
- second time procedure call, it reads and updates the whole file TWICE!! and then leaves.
Can anyone tell me why the f**??
ok
doing a debug, and for my surprise:
in some time the dowhile ended, but.. when? .......after reading the whole file twice!!
Clearly:
- first time procedure call, reads and updates all records on file once, obviously, ok.
- second time procedure call, it reads and updates the whole file TWICE!! and then leaves.
Can anyone tell me why the f**??




Comment