Category : BASIC Source Code
Archive   : QBWIZ20.ZIP
Filename : DEMO.BAS

 
Output of file : DEMO.BAS contained in archive : QBWIZ20.ZIP
REM $INCLUDE: 'QBWIZ.BI'

' Example program demonstrating the use of the QBWiz library.
' You can compile and link this using the CREATE.BAT file.

DEFINT A-Z
PRINT "This is a demo program that uses a few of the functions provided by the QBWiz"
PRINT "library, which works directly with QuickBasic 4.5 internal information."
PRINT
IF REDIRECTION% THEN
PRINT "Output has been redirected."
PRINT "No screen information will be printed."
ELSE
PRINT "Output is going to the screen."
PRINT
PRINT "Display type: "; CRT$
PRINT "Screen size :"; SCREENHEIGHT%; "by"; SCREENWIDTH%
PRINT "Current foreground color:"; FORECOLOR%
PRINT "Current background color:"; BACKCOLOR%
PRINT "The cursor is ";
IF NOT SHOWCURSOR THEN PRINT "not ";
PRINT "visible. Its size is"; CURSORSTART; ","; CURSORSTOP
END IF


  3 Responses to “Category : BASIC Source Code
Archive   : QBWIZ20.ZIP
Filename : DEMO.BAS

  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/