Returns the value of the specified static system symbol.
&CALL PROC=$CAPKBIF PARMS=(PLEXSYM,symbol,VALUE) &CALL PROC=$CAPKBIF PARMS=(PLEXSYM,symbol)
Both statements are equivalent.
Example:
The following sample NCL procedure displays all the static system symbols on a given system.
&CALL PROC=$CAPKBIF PARMS=(PLEXSYM,,COUNT) &Count = &$CAVALUE &WRITE Number of PLEXSYM variables = &Count &SYM = &I = 1 &DOWHILE &I LE &Count
&CALL PROC=$CAPKBIF PARMS=(PLEXSYM,&SYM,NEXT)
&SYM = &$CAVALUE
&CALL PROC=$CAPKBIF PARMS=(PLEXSYM,&SYM,VALUE)
&WRITE &I &SYM=&$CAVALUE
&I = &I + 1
&DOEND
| Copyright © 2009 CA. All rights reserved. |
|