THIS PRESENTATION PROGRAM WAS WRITTEN IN FORTRAN USING SOME OF THESE
SPINDRIFT ROUTINES. CALL MATHEMATICUS LABS FOR A SPINDRIFT DEMO DISK.

Mathematicus Labs
E-Mail: 73243.647@Compuserve.com
F-Mail: 516-744-6241
V-Mail: 516-744-6013 (Orders only)
P-Mail: Postal Box 1296  Sound Beach   NY 11789-0972
     
     
     Spindrift Library Routine List

Alphabetical listing of many Spindrift Library
      Subroutines and functions

ALTTRAP....Specifies a subroutine to be called by DOSCREEN when ALT key is 
	   pressed.
ANYKEY.....Pauses program execution, waiting for any key to be pressed.
AREAD......Reads buffered input from the keyboard.
ATOC.......Moves data from an array to a character variable.
ATOS.......Moves data from an array to a variable string in extended memory.
AUXKEYS....Designates auxillary function keys to be processed by the 
	   DOSCREEN subroutine.
BCLK.......Returns system time as a REAL number.
BEEP.......Sounds the speaker.
BLDB.......Writes text to a pre-defined window on the screen.
BTIME......Sets length of time that BEEP sounds the speaker. 
CAPCLR.....Set the CAPS LOCK keyboard feature OFF
CAPSET.....Set the CAPS LOCK keyboard feature ON   
CAPTSCN....Captures a screen image into an array.
CDROMS.....Returns the drive letters of installed CD-ROM devices.
CHDIR......Changes current directory.
CHK_SPOT...Checks for activated mouse 'hot spots'. (See HOTSPOT subroutine).
CINITB.....Fast initialization of BYTES.
CINITD.....Fast initialization of double WORDS.
CINITW.....Fast initialization of WORDS.
CINITQ.....Fast initialization of quad WORDS.
CKPRNT.....Returns printer status word.
CLK........Returns system as characters.
CLRAREA....Clears an area on the screen.
CLRB.......Clear a window on the screen.
CLRKB......Clears the keyboard buffer.
CLRLINE....Clears part of a screen line.
CLROW......Clear a line on the screen.
CLS........Clears the entire screen.
CLSVS......Clears a virtual screen.
CMOVE......Copies data.
CNVTDATE...Converts date of file's last update from
	   internal format to numeric format.
CNVTFATT...Converts file attributes from file information array.
CNVTTIME...Converts time of file's last update from
	  internal format to numeric format.
COPY.......Copies a file.
COPYIMAG...Copies a saved screen image.
CTOA.......Moves data from a character variable to an array.
CTOS.......Converts a character variable to a string.
CTRLTRAP...Specifies a subroutine to be called by
	  DOSCREEN when CTRL key is pressed.  
CURCUR.....Saves the cursor status.
CURDIR.....Returns the current directory on a disk drive.
CUROFF.....Turns cursor OFF
CURON......Turns cursor ON
CURSET.....Restores cursor to previously saved configuration.
CURSYS.....Restores default curson.
CURTYP.....Sets cursor shape.
DAT........Returns computer date as character value.
DAY........Converts consecutive day number into name of day.
DEFCHOICE..Define a choice on a MENU.
DEFWIND....Define a screen window.
DISPATTR...Changes the display attributes on one screen row.
DISPSCN....Displays a screen image from an array.
DISPTXT....Displays the contents of a DOSCREEN text variable.
DOMENU.....Execute a MENU.
DOSCREEN...Manages display of data entry screens.    
DRAWBORD...Draws a box on the screen.
DRVRDY.....Returns ready status of selected FLOPPY drive.
DSKSPC.....Determines available disk space.
DUMP.......Displays memory as hexidecimal data.
ERASE......Erases a file.
ERASIMAG...Erases a screen area.
ESCAPE.....Tests for ESC key press.
EXEC.......Executes another program (.COM or .EXE files).
EXITKEY....Returns the value of the field or screen exit key (DOSCREEN).
EXTKB......Detect whether computer has enhanced keyboard BIOS
FEXIST.....Determine if a file exists.
FILESRCH...Searchs for files using a specified environment variable.
FILLB......Fills a window with a character, initializing the window.
FILLVS.....Fills a virtual screen with a character.
FILSIZ.....Determines a file's size.
FINDA/FINDB Determines if drive A or drive B are installed.
FINDFILE...Locate a file on the DOS path.
FINDFRST...Find files using wild cards (e.g., *.OBJ)
FINDNEXT...Find subsequent files using wild cards
FLDATTR....Change attribute on a field under DOSCREEN
FLDAUX1....Establish subroutine to process auxillary
	  function keys under DOSCREEN.
FLDAUX2....Establish subroutine to process auxillary
.....     function keys under DOSCREEN.
FLDENTER...Establish subroutine to prepare a data field under DOSCREEN.
FLDEXIT....Establish subroutine to validate data in 
	  a data field under DOSCREEN.
FLDHELP....Establish subroutine to provide HELP for a 
	  data field under DOSCREEN.
FLDKEYS....Redefine field exit keys for DOSCREEN.
FLDOPT.....Change field options for a field under DOSCREEN.
FLDPRMT....Establish prompt text for a data field under DOSCREEN.
FLDSTAT....Return attributes associated with a field under DOSCREEN.
FLIPBIT....Change the value of a bit.
FLOPPY.....Determine whether a drive is a floppy drive.
FREEFLD....Free a data field under DOSCREEN and release memory.
FREEHDL....Free a text, image, or data handle and its memory.
FREESPOTS  Disables all hotspots and frees their memory.
GETARGS....Returns the command line arguments.
GETATTR....Determines current screen display attribute.
GETCH......Returns a keystroke from the keyboard.
GETCHT.....Returns a keystroke from the keyboard with timeout.
GETCOM.....Returns the command line.
GETDRIVE...Returns the letter of the current drive.
GETENVR....Searches the DOS environment.
GETFIELD...Gets a field of character data from the keyboard.
GETPOS.....Returns current cursor position.
GETPOSW....Returns the current cursor position for a window.
GETTXT.....Gets the text associated with a text handle under DOSCREEN.
GETVAR.....Gets the contents of a field under DOSCREEN.
GETVS......Returns the max rows and columns for a virtual screen.
GETWIND....Returns the parameters for a window.
HELPKEYS...Redefines the help keys for a data screen under DOSCREEN.
HOTSPOT....Designates screen area sensitive to mouse input.
IBINCMP....Compares range of memory.
IBYTE......Determines the value of a byte in memory.
IDAT.......Returns system date as integer.
IDATE......Converts day-of-century to integer date format.
IDAYNO.....Converts integer date to day-of-century.
IFMOU......Detects presence of a mouse driver.
INB........Returns a byte value from a hardware port.
INSCLR.....Sets Insert Mode OFF
INSSET.....Sets Insert Mode ON
INW........Returns a word value from a hardware port.
IPSWD......Converts a password to unique integer.
ISALT......Returns .TRUE. if ALT key is pressed.
ISCANB.....Scans memory for a byte value.
ISCANW.....Scans memory for a word value.
ISCAP......Returns .TRUE. if caps lock in ON.
ISCROLL....Returns .TRUE. if scroll lock in ON.
ISCTL......Returns .TRUE. if CTRL key is pressed.
ISERROR....Returns the last error number encountered.
ISINS......Returns .TRUE. if insert key is ON.
ISKEY......Looks ahead into keyboard buffer to see value of key waiting.
ISNUM......Returns .TRUE. if num lock key is ON.
ISSHFT.....Returns .TRUE. if shift key is pressed.
KBHIT......Returns .TRUE. when any key is pressed.
KBS........Returns the keyboard status word.
KBSIM......Inserts characters into the keyboard buffer.
KEYBD......Reads the keyboard when a key is waiting.
KEYTRAP....Specifies a subroutine to handle each keystroke under DOSCREEN.
LEFT$......Extracts left-most characters from a variable string.
LOCATE.....Places cursor at location on screen.
LOCATEW....Places the cursor at a location in a window.
LOCVC......Locates the cursor on a virtual screen.
LWC........Converts characters to lower case.
MAKEFLD....Defines a data field for use with DOSCREEN.
MAKETXT....Defines screen text for use with DOSCREEN.
MARK.......Places a scrollable list of choices in a window.
MAXFLD.....Increases size of internal field handle table.
MEMAVL.....Returns memory available below 640K.
MID$.......Performs substitutions of substrings of variable strings.
MID$F......Performs substring addressing of variable strings.
MKDIR......Create a new directory.
MOUBOX.....Restrict movement of mouse cursor on the screen.
MOUCUROFF  Turn OFF the mouse cursor.
MOUCURON...Turn ON the mouse cursor.
MOUCURST...Returns .TRUE. if mouse cursor is currently displayed.
MOUGET.....Returns current value of mouse sensitivity.
MOUHCUR....Controls shape ofthe hardware mouse cursor.
MOULIM.....Constrains movement of mouse cursor as set by call to MOUBOX.
MOUOFF.....Turn off the mouse and reset the device.
MOUON......Enables the mouse.  Must be called before mouse can be used.
MOURESET...Performs hardware reset of mouse driver.
MOURSTR....Restores a previously saved mouse state.
MOUSAVE....Saves the current state of the mouse.
MOUSCUR....Converts mouse cursor into a keyboard symbol.
MOUSENS....Adjusts mouse movement sensitivities.
MOUSER.....Provides access to low-level mouse functions.
MOUTYPE....Determines mouse type.
MOVCUR.....Transfers control of cursor to keyboard.
MOVCURW....Moves cursor incrementally in a window.
MSGLOC.....Specifies screen location of DOMENU help messages.
MYNAME.....Returns the name of the currently executing program.
MYPATH.....Returns the path to the currently executing program.
NBLANK.....Returns unpadded length of a character variable.
NCDROM.....Returns the number of CD ROM devices installed.
NOPRN......Returns .TRUE. if parallel printer is not installed.
NUMCLR.....Sets Num Lock off
NUMSET.....Sets Num Lock on
ONESHOT....Executes a subroutine specified by SETSHOT.
OPENVS.....Create/open a virtual screen.
OUTB.......Output a byte to a hardware port.
OUTW.......Output a word to a hardware port.
PASSWORD...Prompts for a password.
PRINTS.....Prints text directly to the screen.
PRINTV.....Places character information on a virtual screen.
PRINTW.....Prints text to a window.
PRNBUSY....Returns .TRUE. if specified printer is busy.
PRNERR.....Returns .TRUE. if specified printer has I/O error.
PRNOP......Returns .TRUE. if specified printer is out of paper.
PRNSEL.....Returns .TRUE. if specified printer is selected.
PRNTIM.....Returns .TRUE. if specified printer has timeout.
PUTTXT.....Replaces the current value of screen text variable under DOSCREEN.
PUTVAR.....Replaces contents of a data field under DOSCREEN.
QUICKx.....A 5-routine family of sorting routines.
REDISPFLD  Redisplays the contents of a data field under DOSCREEN.
RENAME.....Rename a file
RIGHT$.....Extracts right-most characters from a variable string.
RMDIR......Remove a directory.
RPLCIMAG...Replaces screen image 'A' with screen image 'B'.
RSTRIMAG...Restores a saved screen image.
RSTRSCRN...Restores a saved window image.
SAVEIMAG...Saves a screen image.
SAVESCRN...Save a screen image under a window.
SCNKEYS....Redefine data screen exit keys for DOSCREEN.
SCRAM......Encrypt/decrypt data.
SCROLCLR...Sets Scroll Lock off
SCROLL.....Scroll an area on the screen.
SCROLLW....Scroll a window on the screen.
SCROLSET...Set Scroll Lock on.
SELECT.....Places a scrollable list of choices in a window.
SETATTR....Sets a display attribute for the screen.
SETATTRW...Sets a display attribute for a window.
SETBIT0....Sets a bit to 0.
SETBIT1....Sets a bit to 1.
SETBYTE....Sets a byte position to a value.
SETCH1.....Make 1-byte character variable for non-printable key.
SETCH2.....Make 2-byte character variable for non-printable keys.
SETCH5.....Make 5-byte character variable for non-printable keys.
SETDRIVE...Sets current drive.
SETSHOT....Sets subroutine to call when ONESHOT is called.
SHELLx.....A 5-routine family of sorting routines.
SHOW.......Places a list into a screen window.
SHOWIMAG...Displays a screen image to a new screen location.
SPINMEM....Controls how out-of-memory condition is handled.
SPOT_OFF...Disables a hotspot on the screen.
SPOT_ON....Enables a hotspot on the screen.
SPOTSTAT...Recalls the attributes defining a hotspot.
STOA.......Converts variable string to an array.
STOC.......Converts variable string to character.
STR$D......Converts double precision value to variable string.
STR$I......Converts integer value to variable string.
STR$R......Converts real value to variable string.
STRCAT.....Concatenates variable strings.
STRCPY.....Copies variable strings.
STRLEN.....Returns length of variable strings.
SUBIDEX....Executes a subroutine using an ID number.
SUBIDOFF...Deletes subroutine and its ID from the ID table.
SUBIDON....Assign an ID to a subroutine for use by SUBIDEX.
SYSTEM.....Perform DOS commands or execute programs or .BAT  files.
TESTBIT....Test the value of a bit.
TICKS......Causes timed delay measured in 100ths of seconds.
TIMER......Returns time past midnight in 100ths of seconds.
TITLE......Establish a title for a window.
TONE.......Sound the speaker with any tone.
TONE2......Sounds the speaker with 2 tones.
TREAD......Reads a string from the keyboard with timeout.
TUNE.......Play a series of tones.
TXTSTAT....Returns attributes of data screen text under DOSCREEN.
UCLOSE.....Closes a file in unbuffered mode.
UNTITLE....Remove a title from a window.
UOPEN......Opens a file in unbuffered mode.
UPC........Converts character to upper case.
UREAD......Reads a file opened with UOPEN.
UWRITE.....Writes a file opened with UOPEN.
VAL........Converts character numeric to double precision format.
VIDEOMOD...Sets the video mode.
VIDEOTYP...Determines video mode.
VIEW.......Displays a virtual screen in a window.
VIEWVS.....Displays a virtual screen in a panning/scrolling window.
WAIT.......Suspends execution for n seconds.
WAIT1......Suspends execution for n seconds or until keypress.
WINDSTRG...Captures window text in a character array.
XLATKEY....Translates key names to internal character format.
