Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Foxpro goto command and deleted records (http://www.velocityreviews.com/forums/t948203-re-foxpro-goto-command-and-deleted-records.html)

Ian Kelly 07-17-2012 11:50 PM

Re: Foxpro goto command and deleted records
 
On Tue, Jul 17, 2012 at 4:57 PM, Ethan Furman <ethan@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?


All times are GMT. The time now is 08:55 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.