Tel: +44(0)1865 300 579
Fax: +44(0)1865 300 232

Programs for Programmers

General Functions - Subroutine Descriptions

copyright Interactive Software Services Ltd. 2000

Group SC : Screen Manipulation Routines

Name Description
IScreenBackground Fill screen with a 'desktop' background pattern
IScreenBell Enable/disable/ring the bell
IScreenBuffer Enable/disable/flush screen output buffer
IScreenClose Terminate INTERACTER screen handling
IScreenCode Specify codes to select VT/Tek text/graphics modes
IScreenCopy Copy a block of screen text into a character array
IScreenDump Dump screen to a printer or print file
IScreenDumpOptions Define screen dump options (page size, position, etc.)
IScreenGet Save text screen in an internal buffer
IScreenLoadImage Load a previously saved screen from disk
IScreenMode Select screen mode by resolution & colours
IScreenModeN Select screen mode by number
IScreenModeOptions Specify screen mode selection options
IScreenOpen Initialise INTERACTER screen handling
IScreenPaste Paste a block of screen text from a character array
IScreenPut Restore a text screen saved by IScreenGet
IScreenSaveImage Save screen to disc
IScreenScroll Scroll or clear a number of screen lines
IScreenTitle Set text/graphics window titles in windowing environment

 

Group IF : Information Routines

Name Description
InfoAttribute Return text attributes information
InfoCursor Return current/saved cursor positions
InfoDeviceName Return printer/plotter descriptions
InfoError Return error information
InfoErrorMessage Return error message string
InfoField Return information about a specified form field
InfoFilename Return default filenames
InfoForm Return Forms Manager information
InfoFormMenu Return option strings from specified form menu field
InfoFrame Return text frame styles/options
InfoGraphics Return real graphics mode information
InfoGrHardcopy Return graphics facilities information (hardcopy)
InfoGrid Return Grid Manager information
InfoGrPalette Return graphics palette information
InfoGrScreen Return graphics facilities information (screen)
InfoHardware Return hardware information
InfoInput Return keyboard input facilities information
InfoOpSystem Return operating system related information
InfoPgInteger Return presentation graphics information (integer)
InfoPgReal Return presentation graphics information (real)
InfoPgStyle Return presentation graphics information (styles)
InfoScreen Return screen mode/dump information (current mode)
InfoScreenMode Return screen mode information (any mode)
InfoVersion Return library version number information
InfoWindow Return window management system information
InfoWinString Return character data associated with text window manager

 

Group OS : Operating System Interface

Name Description
IOsArgument Return a command line argument
IOsCommand Issue an o.s. command, clear screen & pause
IOsCommandSilent Issue a silent operating system command
IOsCopyFile Copy a file
IOsDate Return system date
IOsDeleteFile Delete file(s)
IOsDirChange Change current directory
IOsDirCount Count number of matching files in specified directory
IOsDirDelete Delete named directory
IOsDirEntryType Specify type of directory entries to be returned
IOsDirInfo Return directory file name/date/time/size info
IOsDirList List contents of a directory, with optional match string
IOsDirMake Make a directory
IOsDirName Return the name of the current directory
IOsExecute Terminate current program & execute a new one
IOsExitProgram Abort program with an error message & error code
IOsFileDate Convert a file date/time value to year/month/day
IOsFileTime Convert a file date/time value to hours/minutes/seconds
IOsRenameFile Rename a file
IOsTime Return system time
IOsVariable Return the value of an operating system variable
IOsWait Halt program execution for specified length of time

 

Group BF : Binary File Handling

Name Description
IFileClose Close binary file
IFileOpen Open binary file
IFileRead Read data into non-char buffer
IFileReadChar Read data into character buffer
IFileSeek Set file pointer
IFileWrite Write data from non-char buffer
IFileWriteChar Write data from character buffer

 

Group HW : Hardware Identification Routines

Name Description
IDigitiser Select digitiser type
IDisplay Select display type
IMouse Select mouse type
IPlotter Select plotter type
IPrinter Select printer type
IPrinter2 Select HP-GL/2 printer/plotter type

 

Group DG : Debugging

Name Description
IDebug Write string to diagnostic file
IDebugDouble Write string and double prec. values to diagnostic file
IDebugInteger Write string and integer values to diagnostic file
IDebugLevel Set the error reporting level
IDebugReal Write string and real values to diagnostic file

 

Group MI : Miscellaneous Routines

Name Description
IRandomNumber Return a random number

 

Group CH : Character Manipulation Routines

Name Description
IActualLength Return actual length of string excl. trailing blanks
IDoubleToString Convert a double precision value to a string
IFillString Fill a character string with a given character
IJustifyString Justify a string within a character variable
ILocateChar Locate position of first non blank character
ILocateString Locate position of first non blank sub-string
ILowerCase Convert a string to lower case
INextDouble Extract/clear next substring & return as double prec.
INextInteger Extract/clear next substring & return as integer
INextReal Extract/clear next substring & return as real
INextString Extract/clear next substring & return as string
IntegerToString Convert an integer value to a string
IntValueOfChar Return integer value of a numeric character
IRealToString Convert a real value to a string
IStringToDouble Convert a string to a double precision value
IStringToInteger Convert a string to an integer value
IStringToReal Convert a string to a real value
IUpperCase Convert a string to upper case

 

Group MM : Maximum/Minimum Calculations

Name Description
IDoubleMax1 Return maximum value of a 1 dimensional double prec array
IDoubleMax2 Return maximum value of a 2 dimensional double prec array
IDoubleMaxMin1 Return max & min of a 1 dimensional double prec array
IDoubleMaxMin2 Return max & min of a 2 dimensional double prec array
IDoubleMin1 Return minimum value of a 1 dimensional double prec array
IDoubleMin2 Return minimum value of a 2 dimensional double prec array
IRealMax1 Return maximum value of a 1 dimensional real array
IRealMax2 Return maximum value of a 2 dimensional real array
IRealMaxCum2 Return max cumulative row value of a 2 dimension real array
IRealMaxFunc1 Return maximum value of a real function taking 1 arg
IRealMaxFunc2 Return maximum value of a real function taking 2 args
IRealMaxMin1 Return max & min of a 1 dimensional real array
IRealMaxMin2 Return max & min of a 2 dimensional real array
IRealMaxMinFunc1 Return max & min of a real function taking 1 arg
IRealMaxMinFunc2 Return max & min of a real function taking 2 args
IRealMin1 Return minimum value of a 1 dimensional real array
IRealMin2 Return minimum value of a 2 dimensional real array
IRealMinFunc1 Return minimum value of a real function taking 1 arg
IRealMinFunc2 Return minimum value of a real function taking 2 args

 

Group BT : Bit Manipulation Functions

Name Description
BTEST Bit test
IAND Logical and
IBCLR Bit clear
IBSET Bit set
IEOR Logical exclusive or
IOR Logical inclusive or
ISHFT Bit shift
NOT Logical complement


(Bit manipulation functions only provided where compiler lacks equivalents)