   How to use NICE. ================  D You start by renaming your favourite variant NICE_*.EXE to NICE.EXE.  , On VMS you define NICE as a foreign command:  "     $ nice :== $disk:[dir]nice.exe  > On DOS and UNIX you include the location of NICE in your path.   The syntax for calling NICE is:   0     $ nice input-file output-file [ directives ]   where:  :     - input-file is the PASCAL source-code to be formatted5     - output-file is the resulting PASCAL source-code G     - directives controling the "programming style" (see next sections)   & On VMS you define NCALL/NDEF/NDOCU as:  "     $ ncall:==@disk:[dir]ncall.com&     $ ndefine:==@disk:[dir]ndefine.com"     $ ndocu:==@disk:[dir]ndocu.com  E On DOS and UNIX you include the location of the scripts in your path. 5 (be sure not to have the VMS COM-files in the path !)   ? The command "$ ncall *.pas" will create two files NCALL.LIS and 8 NCALL_IX.LIS containing information about all procedure/7 function calls in all PASCAL programs matching "*.pas".   = The command "$ ndef *.pas" will create two files NDEF.LIS and 7 NDEF_IX.LIS containing information about all procedure/ > function definitionss in all PASCAL programs matching "*.pas".  8 The command "$ ndocu *.pas" will create a file NDOCU.DOCA containing a skeleton of documentative pseudo-code for all PASCAL  programs matching "*.pas".     Directives.  ===========   ' NICE recognize the follwing directives:     8     FORCE            : Make forced comments some places.  <     NOFORCE          : Not make forced comments some places.  4     COMM1            : Use "{" and "}" for comments.  6     COMM2            : Use "(*" and "*)" for comments.  6     BEGINBREAK       : Makes linebreaks after BEGIN's.                          Example:   ,                            IF A>B THEN BEGIN#                               C:=1; #                               D:=2;                             END;                          7     BREAKBEGIN       : Makes linebreaks before BEGIN's.                           Example:   &                            IF A>B THEN                             BEGIN#                               C:=1; #                               D:=2;                             END;                          -     ENDINDENT        : Make indention of END.                           Example:   ,                            IF A>B THEN BEGIN#                               C:=1; #                               D:=2; "                               END;  1     NOENDINDENT      : Not make indention of END.                           Example:   ,                            IF A>B THEN BEGIN#                               C:=1; #                               D:=2;                             END;   H     DEFINITION       : Write all procedure/function definitions to file.  L     NODEFINITION     : Not write all procedure/function definitions to file.  B     CALLING          : Write all procedure/function calls to file.  F     NOCALLING        : Not write all procedure/function calls to file.  I     TRANSLATE        : Perform translation (VMS PASCAL <-> TURBO PASCAL).   "                        Translated:  ;                           VARYING OF CHAR       <->  STRING 9                           FILE OF CHAR          <-   FILE 9                           OTHERWISE             <->  ELSE ;                           OPEN                  <->  ASSIGN A                           X**Y                   ->  EXP(Y*LN(X)) 6                           IADDRESS              <->  @6                           CHR                   <-   #6                           16#                   <->  $                           Warnings:  H                           All other except ofcourse predeclared routines&                           not present.  M     NOTRANSLATE      : Not perform translation (VMS PASCAL <-> TURBO PASCAL).   ?     DOCUMENT         : Write documentative pseudo-code to file.   E                        The following program elements are documented:   =                          PROGRAM/PROCEDURE/FUNCTION start/end B                          IF/CASE/WHILE/FOR/REPEAT-UNTIL statementsK                          procedure-call (special treatment of input/output) )                          block statements   C     NODOCUMENT       : Not write documentative pseudo-code to file.   >     IDLOWER          : Converts all identifiers to lower-case.  >     IDUPPER          : Converts all identifiers to upper-case.       IDMIXED/B     IDCAP            : Converts all identifiers to lower-case, but=                        with the first character in upper-case $                        (capitalize).       KEYWORDLOWER/ ;     KWLOWER          : Converts all keywords to lower-case.        KEYWORDUPPER/ ;     KWUPPER          : Converts all keywords to upper-case.        KEYWORDMIXED/      KWMIXED/     KEYWORDCAP/ ?     KWCAP            : Converts all keywords to lower-case, but =                        with the first character in upper-case $                        (capitalize).       INDENTTAB/=     INDTAB           : Makes indentation in multipla of tabs.        INDENT0/A     IND0             : Makes indentation in multipla of 0 spaces.        INDENT1/A     IND1             : Makes indentation in multipla of 1 spaces.        INDENT2/A     IND2             : Makes indentation in multipla of 2 spaces.        INDENT3/A     IND3             : Makes indentation in multipla of 3 spaces.        INDENT4/A     IND4             : Makes indentation in multipla of 4 spaces.        INDENT5/A     IND5             : Makes indentation in multipla of 5 spaces.        INDENT6/A     IND6             : Makes indentation in multipla of 6 spaces.        INDENT7/A     IND7             : Makes indentation in multipla of 7 spaces.        INDENT8/A     IND8             : Makes indentation in multipla of 8 spaces.      How to use directives. ======================  G Directives are ordered the following way (the first override the last):   1     1)  Directives specified at the command-line.   H     2)  Directives in the file NICECTRL. On VMS you can define a logicalG         to point to the file. On other operating systems it must reside          in current directory.   M     3)  The default directives (BEGINBREAK,IDLOWER,KEYWORDLOWER,INDENT3,COMM2          and NOFORCE).   