+ contrib/hbgt/tests
+ contrib/hbgt/tests/test.prg
+ contrib/hbmisc/tests/rtfclass.prg
- tests/rtfclass.prg
- tests/test10.prg
- tests/testgt.prg
* tests/ac_test.prg
* tests/alias.prg
* tests/begin.prg
* tests/boxtest.prg
* tests/cdow.prg
* tests/clasinh.prg
* tests/dates.prg
* tests/dates2.prg
* tests/dates3.prg
* tests/dates4.prg
* tests/ddate.prg
* tests/debugtst.prg
* tests/delimtst.prg
* tests/devtest.prg
* tests/disptest.prg
* tests/foreach.prg
* tests/gtstdtst.prg
* tests/ipclnt.prg
* tests/ipsvr.prg
* tests/langapi.prg
* tests/memtst.prg
* tests/memvar.prg
* tests/menutest.prg
* tests/mousetst.prg
* tests/multiarg.prg
* tests/newrdd.prg
* tests/nums.prg
* tests/objarr.prg
* tests/objasign.prg
* tests/objects.prg
* tests/omacro.prg
* tests/onidle.prg
* tests/os.prg
* tests/output.prg
* tests/overload.prg
* tests/parexpr.prg
* tests/passref.prg
* tests/procline.prg
* tests/procname.prg
* tests/recursiv.prg
* tests/returns.prg
* tests/round.prg
* tests/say.prg
* tests/sbartest.prg
* tests/scroll.prg
* tests/sdf_test.prg
* tests/seconds.prg
* tests/server.prg
* tests/set_num.prg
* tests/set_test.prg
* tests/setkeys.prg
* tests/sound.prg
* tests/speed.prg
* tests/statfun.prg
* tests/statics.prg
* tests/statics1.prg
* tests/statics2.prg
* tests/statinit.prg
* tests/strdelim.prg
* tests/stripem.prg
* tests/switch.prg
* tests/symbolt.prg
* tests/t1.prg
* tests/tb1.prg
* tests/testbrdb.prg
* tests/testbrw.prg
* tests/testcdx.prg
* tests/testcls.prg
* tests/testdbf.prg
* tests/testdecl.prg
* tests/testerro.prg
* tests/testfor.prg
* tests/testget.prg
* tests/testhrb.prg
* tests/testhtml.prg
* tests/testidle.prg
* tests/testmem.prg
* tests/testpers.prg
* tests/testtok.prg
* tests/testwarn.prg
* tests/tstalias.prg
* tests/tstasort.prg
* tests/tstblock.prg
* tests/tstdbi.prg
* tests/tstmacro.prg
* tests/varparam.prg
* tests/wvt_fs.prg
* cleaning up tests
95 lines
1.7 KiB
Plaintext
95 lines
1.7 KiB
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
// Test program for SETPOS(), DISPOUT(), ?, and ?? Clipper compatibility
|
|
// The results should be identical between Harbour with the GT API and
|
|
// Clipper. INKEY() is used to pause the display at certain points to make
|
|
// it easier to compare scrolling compatibility. A TONE() is sounded before
|
|
// each INKEY(0) call.
|
|
/* Harbour Project source code
|
|
http://harbour-project.org/
|
|
Public domain program written by David G. Holm <dholm@jsd-llc.com>
|
|
*/
|
|
|
|
PROCEDURE Main()
|
|
|
|
LOCAL a, b, c, d, e, f, g, h, i, j, k, l
|
|
|
|
SetPos( - 2, 76 )
|
|
DispOut( "You won't see this!" )
|
|
Tone( 440, 1 )
|
|
Inkey( 0 )
|
|
a := Row()
|
|
b := Col()
|
|
?? a, b
|
|
Tone( 440, 1 )
|
|
Inkey( 0 )
|
|
c := Row()
|
|
d := Col()
|
|
?? c, d
|
|
Tone( 440, 1 )
|
|
Inkey( 0 )
|
|
e := Row()
|
|
f := Row()
|
|
?? e, f
|
|
Tone( 440, 1 )
|
|
Inkey( 0 )
|
|
g := Row()
|
|
h := Col()
|
|
?? g, h
|
|
Tone( 440, 1 )
|
|
Inkey( 0 )
|
|
i := Row()
|
|
j := Col()
|
|
?? i, j
|
|
Tone( 440, 1 )
|
|
Inkey( 0 )
|
|
k := Row()
|
|
l := Col()
|
|
?? k, l
|
|
Tone( 440, 1 )
|
|
Inkey( 0 )
|
|
CLS
|
|
?? a, b
|
|
?? c, d
|
|
?? e, f
|
|
?? g, h
|
|
?? i, j
|
|
?? k, l
|
|
DispOut( "Hello" )
|
|
SetPos( 6, 74 )
|
|
DispOut( "Partly off screen!" )
|
|
? Row(), Col()
|
|
SetPos( 8, - 12 )
|
|
a := Row()
|
|
b := Col()
|
|
?? "PA"
|
|
c := Row()
|
|
d := Col()
|
|
?? "ll on screen!"
|
|
e := Row()
|
|
f := Row()
|
|
? a, b
|
|
? c, d
|
|
? e, f
|
|
SetPos( 13, - 12 )
|
|
a := Row()
|
|
b := Col()
|
|
DispOut( "All off screen!" )
|
|
c := Row()
|
|
d := Col()
|
|
DispOut( "All on screen!" )
|
|
e := Row()
|
|
f := Row()
|
|
? a, b
|
|
? c, d
|
|
? e, f
|
|
SetPos( 19, 85 )
|
|
?? "All on screen??"
|
|
Tone( 880, 1 )
|
|
Inkey( 0 )
|
|
SetPos( 50, 20 )
|
|
?? "On screen??"
|
|
QUIT
|