Dear friends, is there any reasons for the speed differences in the 
following sample?

FUNCTION MAIN()

    LOCAL nSec

    LOCAL cVal, i

    DBCREATE( "__MYTEST", { { "test", "C", 35, 0 } } )

    USE __MYTEST

    FOR i = 1 TO 100000
        APPEND BLANK
    NEXT

    GO TOP

    INKEY( 0.1 )

    nSec = SECONDS()

    WHILE !EOF()
        cVal = FIELD -> test
        SKIP
    ENDDO

    ? SECONDS() - nSec

    CLOSE

    FERASE( "__MYTEST.DBF" )

    INKEY( 0 )

    RETURN NIL

HARBOUR: 25
XHARBOUR: 30

EMG

--
EMAG Software Homepage:     http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page:         http://www.emagsoftware.it/emgmusic 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to