** Next:** Deleting Variables
** Up:** Using Variables
** Previous:** Assignment and Examination
** Contents**
** Index**

Two subroutines are available to decode
mathematical or logical expressions, `SIC_MATH` and ` SIC_LOGICAL`. In addition, a subroutine is available to decode
generalized sexagesimal notation, `SIC_SEXA`. The calling syntax is
the following

CALL SIC_name (EXPRESSION,LENGTH,VARIABLE,ERROR)

where `EXPRESSION` is a character string containing the mathematical or
logical expression to be evaluated, `LENGTH` is the number of
characters of this expression, `VARIABLE` a `REAL*8` (or ` LOGICAL*4`) variable to receive the expression value, and `ERROR` a
logical error flag. A generalized sexagesimal notation is for example
A:B:C or A:B, where A, B and C may be variables or expressions or numbers.
B and C values must of course be greater than or equal to 0 and less than
60. The value is returned in units of A, the leftmost field.

Gildas manager
2014-07-01