DCL:MATH1:SYSLIB : Internal Variable Management and Message Output:Explanation of Subroutines
Inquires/changes character-type internal variables used in MATH1.(glcstx allows changes through runtime options.)
cpara = NumRu::DCL.glcget(cp)
NumRu::DCL.glcset(cp,cpara)
NumRu::DCL.glcstx(cp,cpara)
cp (C*8) Name of an internal variable cpara (C*(*)) Value of a character-type internal variable
The following is a list of names that can be specified as cp.
'DCLRC' (C) Name of an external file that is read for runtime options. (Takes the value value .dclrc. in the standard library). However, the value of this internal variable is not used directly as the file name. See notes for detail. 'DUPATH' (C) Pathname under which various database files for the user are placed. The initial value in the standard library is ' ' . (Blank: represents current directory). 'DSPATH' (C) Pathname under which various database files provided by the system is placed. In the standard library, it takes the value specified by $(DCLDBASE) upon installation.
GLCQNP(NCP) Calculates the total number ncp of internal variables. GLCQID(CP,IDX) Determines the position idx of an internal variable cp GLCQCP(IDX,CP) Inquires the name cp of an internal variable at position idx GLCQVL(IDX,CPARA) Inquires the value ipara of an internal variable at position idx GLCSVL(IDX,CPARA) Changes the value ipara of an internal variable at position idx