-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

Reply via email to