Files
harbour-core/harbour/extras/hbapollo/tests/test73.prg
Viktor Szakats 340318e66d 2012-07-21 19:09 UTC+0200 Viktor Szakats (vszakats syenar.net)
+ extras
  - examples
  * doc/dirstruc.txt
    * renamed 'examples' to what it is more: 'extras'
2012-07-21 17:10:27 +00:00

25 lines
441 B
Plaintext

/*
* $Id$
*/
/*
sx_Empty()/sx_IsNull()
*/
#include "sixapi.ch"
#include "simpleio.ch"
PROCEDURE MAIN()
LOCAL aStruct1 := { { "PART_NO","C",10,0 }, { "PRICE","N",10,2 }, { "NOTES","M",10,0 } }
SET RDD SDEFOX
SET DATE ANSI
CREATE TABLE "TEST1" STRUCT aStruct1
USE "test1"
APPEND BLANK
REPLACE PRICE WITH 20
? sx_Empty( "PART_NO" )
? sx_IsNull( "PART_NO" )
? sx_Empty( "PRICE" )
? sx_IsNull( "PRICE" )