Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : CLIP5INT.ZIP
Filename : T.PRG

 
Output of file : T.PRG contained in archive : CLIP5INT.ZIP
// very simple routine to demonstrate int_86x( )

#define MOUSE_INT 51

proce main
local AX := 0, BX := 0, cMSG := "Press any key to continue..."
cls

int_86x( MOUSE_INT, @AX, @BX )
? IIF( AX == -1, "Mouse with "+ltrim(str(BX))+" buttons", "No mouse")+" installed"
? cMSG

INKEY(0)
AX := 1
int_86x( MOUSE_INT, @AX )
? "Mouse is on"
? cMSG

INKEY(0)
AX := 0
int_86x( MOUSE_INT, @AX )
? "Mouse reset & off"
retu


  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : CLIP5INT.ZIP
Filename : T.PRG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/