Files
harbour-core/harbour/extras/hbapollo/tests/test79.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

39 lines
953 B
Plaintext

/*
* $Id$
*/
/*
sx_SetScope()/sx_GetScope()/sx_ClearScope()/sx_QueryRecCount()
*/
#include "sixapi.ch"
#include "simpleio.ch"
PROCEDURE MAIN()
USE "test/test"
FERASE( "TEST.NSX" )
INDEX ON LAST TO TEST
? 'sx_QueryRecCount() =>', sx_QueryRecCount()
? 'BROWSE without scoping ... Press any key ...'
PAUSE
CLS
BROWSE
CLS
? 'sx_SetScope( "Jones", "Smith" ) =>', sx_SetScope( "Jones", "Smith" )
? 'sx_GetScope() =>', sx_GetScope()
? 'sx_GetScope(1) =>', sx_GetScope( 1 )
? 'sx_QueryRecCount() =>', sx_QueryRecCount()
? 'BROWSE with scoping ... Press any key ...'
PAUSE
CLS
BROWSE
CLS
? 'sx_ClearScope() =>', sx_ClearScope()
? 'sx_GetScope() =>', sx_GetScope()
? 'sx_GetScope(1) =>', sx_GetScope( 1 )
? 'sx_QueryRecCount() =>', sx_QueryRecCount()
? 'Scope has been cleared ... Press any key ...'
PAUSE
CLS
BROWSE