Files
harbour-core/contrib/hbnf/tests/test.prg
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

34 lines
609 B
Plaintext

#require "hbnf"
#include "inkey.ch"
PROCEDURE Main()
LOCAL nver, nmar, ntype, nir, ppp
nmar := ft_MVersion( @nver, @ntype, @nir )
ppp := nmar + nver
? Str( nmar, 2, 0 ), ".", Str( nver, 2, 0 )
? ppp / 100
Inkey( 0 )
? "is mouse on", ft_MReset()
Inkey( 0 )
? ft_MShowCrs()
Inkey( 0 )
? ft_MXLimit( 0, 8 * MaxCol() )
Inkey( 0 )
? ft_MYLimit( 0, 8 * MaxRow() )
Inkey( 0 )
DO WHILE LastKey() != K_ESC
? "mouse row is", ft_MGetX()
? "mouse col is", ft_MGetY()
IF LastKey() == K_ESC
EXIT
ENDIF
ENDDO
ft_MHideCrs()
RETURN