next up previous contents
Next: getlayout Up: Source developing and Previous: iserrcheck

isvar

    Description

The command isvar generates an output file containing declarations and a part of the comment block for the source code of ISNaS subroutines. In fact it generates the declaration of the input and output parameters, the declaration of the local variables, the description of input/output and local parameters, the description of the subroutines called and the description of the error messages.
isvar uses some databases in which the descriptions and declarations for general parameters are stored. If no declaration can be found the implicit type declaration rules are used to generate the declarations. If a description can not be found in the databases, a question-mark "?" is put in the description.
Usage
isvar files(s)
Remarks
  1. The isvar command uses a number of databases. The description of known parameters is stored in the file descript.fil. The description of error messages in errors.fil and the description of subroutines in subrouts.fil.
    The descriptions of standard declarations can be found in the file declarations.
    These four files can be found in the directory isnas/instal.
    Any extensions to these files should be addressed to the ISNaS system administrator.
  2. The output of the isvar command is a file vars.out containing the declarations and descriptions. This file can easily be merged with the source file using a standard editor.
  3. The declarations part of the isvar command is produced by the command gendecl. See gendecl for a description of this command and the file declarations. It is also possible to use gendecl separately using a local description file.
  4. The file subrouts.fil has the following shape:
    c     ISERCLOS  Resets old name of previous subroutine of higher level
    c     ISEROPEN  Produces concatenated name of local subroutine
            .
            .
    
    Any extensions to this file should have the same layout.

The file errors.fil has the following shape:

c       1   mesnum has wrong value
c       2   value of mesnum not yet implemented
        .
        .
Any extensions to this file should have the same layout. The file descript.fil has the following shape:
c     chararr   Array of character strings containing the strings that
c               must be substituted in the print format.
c     clear     Indicates if the buffer must be cleared (true) or not
c     clearbuf  if true the buffer must be cleared in the next step
        .
        .
Any extensions to this file should have the same layout.



next up previous contents
Next: getlayout Up: Source developing and Previous: iserrcheck



ISNaS ontwikkeling
Wed May 24 08:37:14 METDST 1995