Confirmed. Thank you Viktor!
Bill
----- Original Message -----
From: Viktor Szakáts
To: Harbour Project Main Developer List.
Sent: Monday, June 01, 2009 8:18 PM
Subject: Re: [Harbour] Clipper Bof/Eof behavior on Skip
-n switch is needed with Clipper.
---
Bof, Eof
not Bof, Eof
Bof, not Eof
---
[ I deleted my existing test.dbf (with different content) to get these
results. ]
Brgds,
Viktor
On Mon, Jun 1, 2009 at 7:40 PM, Teo Fonrouge <t...@windtelsoft.com> wrote:
> Hello,
>
> Could someone with Clipper 5.2, be so kind of compile and run the program
> bellow and post here the program output ?.
>
>
> Thanks in advance.
>
> Teo
>
>
> <Clipper Program>
>
> FUNCTION Main()
>
> IF ! File( "test.dbf" )
> DbCreate( "test.dbf", { { "FIELD1", "C", 10, 0 } } )
> ENDIF
>
> USE test
>
> GetStatus()
>
> DbSkip( 1 )
>
> GetStatus()
>
> DbSkip( -1 )
>
> GetStatus()
>
> RETURN NIL
>
> STATIC PROCEDURE GetStatus()
> ? iif( Bof(), "Bof", "not Bof" ) + ", " + iif( Eof(), "Eof", "not Eof" )
> RETURN
>
> </Clipper Program>
>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour