Files
harbour-core/harbour/tests/testrdd.prg
Viktor Szakats 32b3c2a1cd 2012-10-12 01:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/hbxlsxml/xlsxml.prg
    ! fixed missing UTF-8 mime-type svn prop

  * tests/gtkeys.prg
    ! fixed typo in recent mods causing it to fail under Clipper

  * contrib/hbunix/tests/testdmn.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbtedit.prg
  * contrib/gtwvg/class.prg
  * contrib/gtwvg/tests/utils.prg
  * contrib/hbnf/dfile.prg
  * contrib/hbgd/tests/counter.prg
  * contrib/hbtip/tests/tipmime.prg
  * src/debug/debugger.prg
  * src/rtl/teditor.prg
  * src/rtl/typefile.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/testrdd2.prg
  * tests/inifiles.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/session.prg
    % File() -> hb_FileExists()
    ; pls review me in core

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/tests/modal.prg
  * contrib/gtwvg/tests/utils.prg
  * contrib/gtwvg/toolbar.prg
    % VALTYPE() -> HB_IS*() and some related optimizations

  * tests/codebloc.prg
  * tests/newrdd.prg
  * tests/inkeytst.prg
  * tests/files.prg
  * tests/testrdd.prg
  * tests/wcecon.prg
  * tests/testrdd2.prg
  * tests/inifiles.prg
    * *LTRIM(STR()) -> hb_ntos()
      (keeping macro for Clipper where seemed necessary)
2012-10-11 23:46:23 +00:00

44 lines
1.0 KiB
Plaintext

/*
* $Id$
*/
PROCEDURE Main()
LOCAL aRdd := rddList()
LOCAL aStruct := { { "CHARACTER", "C", 25, 0 }, ;
{ "NUMERIC", "N", 8, 0 }, ;
{ "DOUBLE", "N", 8, 2 }, ;
{ "DATE", "D", 8, 0 }, ;
{ "LOGICAL", "L", 1, 0 } }
REQUEST DBFCDX
SET EXCLUSIVE OFF
QOut( "Registered RDD's:", hb_ntos( Len( aRdd ) ), "=>" )
AEval( aRdd, {| cDriver | QQOut( "", cDriver ) } )
QOut()
rddSetDefault( "DBFCDX" )
dbCreate( "testdbf", aStruct, "DBFCDX" )
dbUseArea( , , "testdbf.dbf", "ALIAS_1" )
? Bof()
dbSelectArea( 2 )
dbUseArea( , "SDF", "testdbf.dbf", "ALIAS_2" )
dbSelectArea( 3 )
dbUseArea( , "DELIM", "testdbf.dbf", "ALIAS_3" )
? Eof()
dbSelectArea( 4 )
dbUseArea( , "DBFNTX", "testdbf.dbf", "ALIAS_4" )
? Found()
dbGoBottom()
dbGoto( 1 )
dbSelectArea( 5 )
dbUseArea( , "DBF", "testdbf.dbf", "ALIAS_5" )
dbGoTop()
dbSkip()
dbCloseArea()
dbCloseAll()
hb_dbDrop( "testdbf",, "DBFCDX" )
RETURN