Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25545

Foxpro goto command and deleted records

Date 2012-07-17 15:57 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject Foxpro goto command and deleted records
Newsgroups comp.lang.python
Message-ID <mailman.2254.1342568073.4697.python-list@python.org> (permalink)

Show all headers | View raw


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?

~Ethan~

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Foxpro goto command and deleted records Ethan Furman <ethan@stoneleaf.us> - 2012-07-17 15:57 -0700
  Re: Foxpro goto command and deleted records Grant Edwards <invalid@invalid.invalid> - 2012-07-18 14:40 +0000
    Re: Foxpro goto command and deleted records Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-18 12:26 -0400
    Re: Foxpro goto command and deleted records Ian Kelly <ian.g.kelly@gmail.com> - 2012-07-18 10:26 -0600

csiph-web