Foxpro goto command and deleted records

Ian Kelly ian.g.kelly at gmail.com
Tue Jul 17 19:50:20 EDT 2012


On Tue, Jul 17, 2012 at 4:57 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> In Foxpro if you do a
>
> GOTO 7
>
> with deleted off and record 7 is deleted, the record pointer doesn't
> move (at least in version 6).
>
> I don't like that.
>
> I see four other options:
>
> 0) don't move the pointer (listed for completeness)
> 1) go to that record anyway
> 2) go to the next undeleted record
> 3) go to the seventh undeleted record (possibly the least practical)
> 4) raise an exception
>
> Any opinions?

Relevance to Python?



More information about the Python-list mailing list