ts@chyde.uwasa.fi (Timo Salmi LASK) (10/19/89)
Wed 18-Oct-89: Released update /pc/ts/tspas15.arc of my Turbo Pascal 5.0 and 4.0 units collection. New procedures/functions include BINFN in TSUNTB for fast conversion of decimal words to binary and HEXFN for fast conversion to hexadecimal. LBIN and LHEX convert long integers fast to binary and hexadecimal respectively. POWERLFN raises a longint to a power, fast. BORDER in TSUNTE changes the border color for CGA or VGA. All the rest of the procedures and functions remain unchanged. Available by anonymous ftp as usual. ................................................................... Prof. Timo Salmi (Site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun ................................................................... Summary of the Functions and procedures in the TSPAS Package TSUNTA: PANMR Scroll screen right PANML Scroll screen left WIDTHFN Current width of text screen ATTRIBFN Color attribute for direct write to video memory VIDXY Direct write to the screen video memory VDCHXY Direct read from the screen video memory VDAEXYFN Direct read of a screen video memory color attrubite TSUNTB: TIMERFN Time elapsed since midnight POWERFN Conventional raising of a positive number to a power POWERGFN Generalized raising of a any real to a power POWERLFN Raise longint to a non-negative integer power TWOTOFN Two to a power, fast R16TOFN Sixteen to a power, fast BITONFN Status of a bit in a word CONVBFN Convert from a number of any base to any other base BINDECFN Convert binary to decimal, fast DECBINFN Convert decimal to binary, fast (outdated by BINFN) BINFN Convert decimal to binary, very fast LBINFN Convert longint to binary, fast HEXDECFN Convert hexadecimal to decimal, fast DECHEXFN Convert decimal to hexadecimal, fast (outdated by HEXFN) HEXFN Convert decimal to hexadecimal, very fast LHEXFN Convert longint to hexadecimal, fast TSUNTC: PLAYNOTE Play a note PRTONLFN Get the online status of a printer DSKCNTFN Get the number of disk devices (MsDos 3+ only) TSUNTD: TRIMRGFN Trim a string right TRIMLFFN Trim a string left LEADFN Lead a string with a multiple character (i.e. pad left) TRAILFN Trail a string with a multiple character (i.e. pad right) DOSDELAY Delay without using the Crt unit PARSE Extract all substrings from a string STRCNTFN Number of substrings in a string (resembles ParamCount) SPARTFN Returns a specified substring (resembles ParamStr) TSUNTE: CURSOFF Turn off cursor (keeps other cursor attributes) CURSON Turn cursor back on as it were CURSOR Change cursor size BORDER Change border color (CGA, VGA) CLB Clear the keyboard buffer MONOFN Is it a monochrome CAPSONFN CapsLock status NUMLONFN NumLock status FEXISTFN Generalized file existence status FSIZEFN File size CMDLNFN Returns the entire command line WKDAYFN Returns modern weekday TSUNTF: EDRDLN Readln with line-editing potential EDREADLN Readln with line-editing, recall, and insert toggle