next up previous contents index
Next: Assignment and Examination Up: Using Variables Previous: Using Variables

Definition

There are 5 variable declaration routines following the same calling conventions          

          Argument Data Type      Name of Subroutine
                REAL*8                  SIC_DEF_DBLE
                REAL*4                  SIC_DEF_REAL
                INTEGER*4               SIC_DEF_INTE
                CHARACTER*(*)           SIC_DEF_CHAR
                LOGICAL*4               SIC_DEF_LOGI

The calling syntax is the following 
          CALL SIC_DEF_Name (NAME,VARIABLE,READONLY,ERROR)
for LOGI and CHAR, and
          CALL SIC_DEF_Name (NAME,VARIABLE,NDIM,DIM,READONLY,ERROR)
for DBLE, REAL, and INTE, NDIM being the number of dimensions,
and DIM the dimensions of the array VARIABLE.
NAME is the name of the SIC variable, VARIABLE the name of the corresponding FORTRAN variable, READONLY a logical indicating whether the variable should be Read-Only (.TRUE.) or Read-Write (.FALSE.). ERROR is a logical error flag set by SIC if the variable could not be defined.

Variable names must be at most 15 characters, upper case only, and beginning with a letter. Special characters must be avoided, except the ``_'' (underscore) sign.



Gildas manager
2002-06-07