Files
harbour-core/harbour/tests/testcdx.prg
Ron Pinkas a3b90dd225 20000425-07:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
     * Replaced sequential calls to hb_compGenPCode3() + hb_compGenPCode3() with 1 call to new hb_compGenPCode4()

   * source/compiler/hbpcode.c
     + Added hb_compGenPCode4( BYTE, BYTE, BYTE, BYTE )

   * include/hbcomp.h
     + Added hb_compGenPCode4( BYTE, BYTE, BYTE, BYTE )

   * source/vm/macro.c
     + Added hb_compGenPCode4( BYTE, BYTE, BYTE, BYTE, HB_MACRO_DECL )
2000-04-25 14:38:23 +00:00

26 lines
664 B
Plaintext

//
// $Id$
//
function Main()
local aStruct := { { "CHARACTER", "C", 25, 0 }, ;
{ "NUMERIC", "N", 8, 0 }, ;
{ "DOUBLE", "N", 8, 2 }, ;
{ "DATE", "D", 8, 0 }, ;
{ "LOGICAL", "L", 1, 0 } }
REQUEST DBFCDX
rddSetDefault( "DBFCDX" )
FErase( "testcdx.cdx" )
dbCreate( "testcdx", aStruct, "DBFCDX" )
dbUseArea( ,, "testcdx", "MYALIAS" )
ordCreate( "testcdx", "1Tag ", "FIELD->Character", { || FIELD->Character }, .F. )
ordCreate( "testcdx", "2Tag ", "FIELD->Character", { || FIELD->Character }, .F. )
? MYALIAS->CHARACTER
return nil