!CVGLIB - General & macro partition for CVLLIB ! 27-Mar-86 Release 4 ! 26-Jul-83 Release 3 ! 6-May-82 Release 2B ! ! CVLLIB - Charleville general-purpose library ! -------------------------------------------- ! !Construction of this file has become more complex since it became necessary ! to split CVLLIB up into several component parts. The partitions are ! !This-> CVGLIB general & macro files ! CVRLIB real (2-word) files ! CVCLIB C interface & programme files ! CVFLIB Fortran, ibid ! !The separate .DAT & .TEC files are distributed with their own segments. ! When each file is processed by CVLLIB.TEC, several command files are ! generated for each group: ! ! 1 CVxFIL.COM Command file for transferring files in this group ! from IN: to OUT: ! 2 CVxMAC.COM Command file for assembling files in this group ! producing object files on BIN: and ! listing files on LST: ! 3 CVxLIB.COM Command file for combining files in this group ! into a library file. ! !Command file for complete CVLLIB generation CVLGEN.COM !Command file for general & macro area generation CVGGEN.COM !Data file (this one) with breakdown of files in CVLLIB general & macro area CVGLIB.DAT !Teco file for generating CVLLIB command files! CVGLIB.TEC !Command files for putting together CVLLIB.OBJ and SYSLIB.OBJ CVLLIB.COM SYSLIB.COM !Additional files which should not be processed by automatic file CVLLIB.TEC ! except for use in CVGFIL.COM !Data files with and information DATBLK.DAT TIMBLK.DAT !Additional macro routines included should the user wish to play with them CMAC.MAC IO.DAT BASE.MAC !Demonstration & various programme files CONVRT.MAC LMP.MAC DEMO.MAC VC.MAC CLOCK.MAC DATSUB.MAC DOUBLE.MAC !Optional more complex packages IO2 N12FIL IO !File telling version number of library. Tested by ! ! LINK CVLLIB/INCLUDE ! Global? CVLLIB ! and running the resulting programme. (CVLVER contains CVLLIB::) CVLVER ! M A C R O R O U T I N E S ! * * * * * * * * * * * * * * ! Date & Time TODAYT TODAY WDAYT WDAY WSDATT WSDAT WDATT WDAT RSDAT RDATT RDAT CRDATW CWDATR DATDIF DATCAL AGE IDAY WSTIMT WSTIM WTIMT WTIM RSTIM RTIMT RTIM CRTIMW CWTIMR ! Filename & Radix50 formats WFT WF W50FT W50F W50T W50 RFT RF R50T R50 ! Triple-precision money format WM3PT WM3T WM3P WM3 RM3T RM3 ! Triple-precision integers WD3PT WD3T WD3P WD3 RD3T RD3 ! Triple-precision arithmetic MUL31 MUL33 DIV31 DIV33 NEG3 NEG32 CMP3 ADD3 SUB3 ! Double-precision money format WMPT WMT WMP WM RMT RM ! Write double-precision numbers ! Decimal WD2PT WD2T WD2P WD2 ! Octal W82SPT W82PT W82ST W82T W82SP W82P W82S W82 ! Hex WH2PT WH2T WH2P WH2 ! Read double-precision integers ! Decimal RD2ST RD2T RD2S RD2 ! Octal R82ST R82T R82S R82 ! Hex RH2T RH2 ! Write single-precision integers ! Decimal, octal, or hex RN2T RN2 ! Decimal WDSPT WDPT WDST WDT WDSP WDP WD ! Octal W8SPT W8PT W8ST W8T W8SP W8P W8S W8 ! Hex WHPT WHT WHP WH ! Read single-precision integers ! Decimal, octal, or hex RNT RN ! Decimal RDST RDT RDS RD ! Octal R8ST R8T R8S R8 ! Hex RHT RH ! String Comparisons SCG SCX SCGV SCXV ! Ascii character output WAT WA ! Ancillaries CASE R2D R1D HEXX HEXPRE HEXSUF WT WCT W2P WP RG RT SRJUST W2D WBD WSGN RSGN TCRLF YES YESNO TLIN TLINB TLOUB TUC TSPM TIOW DATBLK TIMBLK C12 C13 C23 C21 C32 C31 CA50 C50A DIG3 LTRIM RTRIM MUL11 DIV11 MUL21 MUL22 DIV21 ADD2 SUB2 CMP2 MULX DIVX SCOP IRAN ! !Routines for general use by other sections of the library ! LWADJ LR2T LR2 CWADJ CR2 LRETC CSVR ! ************* Note that the librarian command file CVLLIB.COM produced ! from this file generates as required a /G to delete ! the globals R$T and TLIN, which are present in the R$G ! (RG.MAC) file as well as in their own modules, and ! the globals INB, OUCLR, and OUB, which are present in ! IO and IO2.