************************************************************
* Name:		VCAL.PRG
*		Versatile Calendar
* Desc:		A popup calendar program.  Parameters specify position,
*		month to display, and number of dates to wait for.
*		+,- change the year
*		PGUP, PGDN change the month 
*		ARROW KEYS will move calendar through days
*		RETURN will select a day
*		CTRL-END will select a day and return to calling program.
*		ESC will abort 
* Author:	Landon R. Prieur
* Created:	5/1/91
* BORBBS ID:	Reedrock (comments welcome)
*
* Inspired by and modified from CALNDAR1.PRG by Todd W. Lindley as modified
* by Steven L. Baker, Data Design Services, 11/28/91
*
*
* Usage:      DO VCAL WITH x,y,date,rettype
*
*		x = X Coordinate (0-5, if > 5, set to 5)
*		y = Y Coordinate (0-39, if > 39, set to 39)
*		date = Date to show
*		rettype = Number of dates to return (up to 99)
*
* Normal exit:	Returns dates in DRET1, DRET2, DRET3, ...
* CTRL+END:	Returns only dates selected in DRET1, DRET2, DRET3, ...
* ESC:		Returns empty DRET1, DRET2, DRET3, ...
**********************************************************************