npc - new icl pascal compiler (front-end) [ options ] file is a program analyser that checks the syntax and static semantics of programs written in ICL Pascal. To run type npc filename where contains the program source text. Note that the file name must end in a .pas suffix. Further control over is exercised by the following options. Control the generation of a listing file. is a key-word chosen from 'short', 'normal', or 'full'. The first lists only those lines in error, the second lists the source text together with errors, and the third lists both primary and secon- dary source text together with errors. If the key-word is ommit- ted, 'normal' is selected by default. In each case, the listing file is written to standard output. Control the langauge level against which checking is performed. is a single digit in the range 0 to 2. The effect of each setting is as follows. s Level 0 ISO Level 0 (no conformant arrays) 1 ISO Level 1 (conformant arrays) 2 ICL Pascal (Level 1 + ICL extensions) Control the recognition of embedded directives. is a three char- acter string which must prefix each directive. If string is om- mitted, no directives are recognised. By default, is set to '***'. The following list of directives is recognised. READ(file) npc takes input from the secondary source file. The effect is identical to the pre- processor directive #include. Secondary source text will be listed if the -Lfull option has been specified. PAGE causes a new page to be output to the list- ing file. The directive is only effective if the -Lnormal or -Lfull options have been specified. LINES(n) Eject n blank lines onto the listing file. If there is insufficient room on the current page of output, a new page is ejected instead. The direc- tive is only effective if the -Lnormal or -Lfull options have been specified. LIST(SHORTLIST) has the same effect as -Lshort. LIST(LIST) has the same effect as -Lnormal. Control the contents of the listing file sub-heading. is the text of the new sub- heading enclosed in double-quote marks. If exceeds 24 characters, then it will be truncated. For example, npc -L -h "new product" product.pas >listing causes the program in product.pas to be checked. A listing con- taining errors and source lines is written to the file listing. Each page of the listing will contain a heading that includes the string "new product". ... ... ... ...