Category : BASIC Source Code
Archive   : PROWINDB.ZIP
Filename : PROWINDB.INC

 
Output of file : PROWINDB.INC contained in archive : PROWINDB.ZIP
'
' ProWindows(tm) Window Management System
' (c) Copyright 1988-1989 Daniel P. Stasinski
'
' THIS IS NOT PUBLIC DOMAIN. This is ShareWare. You are allowed to use
' it on a trial basis (30 days), after which you are required to send the
' a registration fee of $7.50. YOU MAY NOT DISTRIBUTE, BY ANY MEANS,
' SOFTWARE DEVELOPED WITH THIS PRODUCT UNLESS YOU ARE A REGISTERED
' USER.
'
'
' ******************* DECLARE FUNCTION AND PROCEDURES ********************
'
' With the DECLARES included, you are allowed to call each FUNCTION or
' SUB without having to use either CALL or enclosing '()'. More
' importantly, they keep you from crashing the system if you call these
' them with incorrect parameters. Also, they make a great cheat-sheet.
' DO NOT REMOVE ANY OF THESE LINES.

DECLARE FUNCTION attr% (fore%, back%)
DECLARE SUB PopWindow (row%, col%, rows%, cols%, Attrib%, border%, shadow%, zoom%)
DECLARE SUB TitleWindow (Location%, Title$)
DECLARE SUB wprint (row%, col%, StrDat$)
DECLARE SUB wcprint (row%, StrDat$)
DECLARE SUB cwprint (row%, col%, Attrib%, StrDat$)
DECLARE SUB cwcprint (row%, Attrib%, StrDat$)
DECLARE SUB RemoveWindow ()
DECLARE SUB ClearWindow ()
DECLARE SUB Copyright (row%, col%)

' ******************* DECLARE WINDOW CONTROL BLOCK *******************

TYPE wincb
row AS INTEGER
col AS INTEGER
rows AS INTEGER
cols AS INTEGER
attr AS INTEGER
border AS INTEGER
shadow AS INTEGER
zoom AS INTEGER
ptr AS INTEGER
cbytes AS INTEGER
abytes AS INTEGER
END TYPE

' ********************** DECLARE COMMON VARIABLES *******************
'
' This statement is MANDITORY. Without it, your computer will jam
' a little short of instantly.

COMMON SHARED /windowdata/ wcb() AS wincb, scrn() AS INTEGER, WI AS INTEGER, SoundMode AS INTEGER, SNOW AS INTEGER, CreateMode AS INTEGER, ERRNO AS INTEGER

' ******************** DIMENSION COMMON VARIABLES *******************
'
' Same with these, you must keep in the dimensions, however you may
' change them to another value if you wish. To save you some time, I
' have preset them to allow you up to 30 simultaneous windows.

DIM wcb(30) AS wincb, scrn(16000) AS INTEGER

' ********************** DANIEL'S LAW OF 'scrn%()' ********************
'
' To calculate the required size for 'scrn%()', multiply the maximum
' amount of windows by 500. If you get a 'SUBSCRIPT OUT OF RANGE ERROR',
' increase it just a tad.



  3 Responses to “Category : BASIC Source Code
Archive   : PROWINDB.ZIP
Filename : PROWINDB.INC

  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/