[1X4. Installation and auxiliary functions[0X [1X4.1 Requirements[0X The [5XResClasses[0X package needs at least [5XGAP[0X 4.4.7 and [5XGAPDoc[0X 0.99999 [LN07]. It can be used under UNIX, under Windows and on the MacIntosh. [5XResClasses[0X is completely written in the [5XGAP[0X language and does neither contain nor require external binaries. [1X4.2 Installation[0X Like any other [5XGAP[0X package, [5XResClasses[0X must be installed in the [11Xpkg[0X subdirectory of the [5XGAP[0X distribution. This is accomplished by extracting the distribution file in this directory. By default, the package [5XResClasses[0X is autoloaded. If you have switched autoloading of packages off, you can load [5XResClasses[0X via [10XLoadPackage( "resclasses" );[0X. [1X4.3 The testing routine[0X [1X4.3-1 ResClassesTest[0X [2X> ResClassesTest( [0X[3X[0X[2X ) _______________________________________________[0Xfunction [6XReturns:[0X Nothing. Performs tests of the [5XResClasses[0X package. Errors, i.e. differences to the correct results of the test computations, are reported. The processed test files are in the directory [11Xpkg/resclasses/tst[0X. [1X4.4 Building the manual[0X [1X4.4-1 ResClassesBuildManual[0X [2X> ResClassesBuildManual( [0X[3X[0X[2X ) ________________________________________[0Xfunction [6XReturns:[0X Nothing. This function is a development tool which builds the manual of the [5XResClasses[0X package in the file formats LaTeX, PDF, HTML and ASCII text. This is accomplished using the [5XGAPDoc[0X package by Frank Lübeck and Max Neunhöffer. Building the manual is possible only on UNIX systems and requires PDFLaTeX. As all files generated by this function are included in the distribution file anyway, users will not need it. [1X4.5 SendEmail and EmailLogFile[0X [1X4.5-1 SendEmail[0X [2X> SendEmail( [0X[3Xsendto, copyto, subject, text[0X[2X ) _______________________[0Xfunction [6XReturns:[0X Zero if everything worked correctly, and a system error number otherwise. Sends an e-mail with subject [3Xsubject[0X and body [3Xtext[0X to the addresses in the list [3Xsendto[0X, and copies it to those in the list [3Xcopyto[0X. The first two arguments must be lists of strings, and the latter two must be strings. As most system-related functions, [10XSendEmail[0X works only under UNIX. Further, the computer must of course be connected to the internet. [1X4.5-2 EmailLogFile[0X [2X> EmailLogFile( [0X[3Xaddresses[0X[2X ) ________________________________________[0Xfunction [6XReturns:[0X Zero if everything worked correctly, and a system error number otherwise. Sends the current log file by e-mail to [3Xaddresses[0X, if [5XGAP[0X is in logging mode and one is working under UNIX, and does nothing otherwise. The argument [3Xaddresses[0X must be either a list of e-mail addresses or a single e-mail address. Long log files are abbreviated, i.e. if the log file is larger than 64KB, then any output is truncated at 1KB, and if the log file is still longer than 64KB afterwards, it is truncated at 64KB.