- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine parses the expression in EXPRES looking for tokens of the name
PREFIX//[A-Z]. If one is located an attempt to access a value for this tokens if made using the
ADAM parameter PREFIX//[A-Z]. If a value is obtained then it is substituted into the string
EXPRES.
New character tokens (functions) may contain references to other character tokens which will be either
prompted for, or, if it is a token which has already been given a value this will be substituted.
Invocation
CALL KPG1_SATKC( PREFIX, EXPRES, STATUS )
Arguments
PREFIX = CHARACTER
(
) (Given)
The prefix of the tokens. Valid tokens are ones with any trailing single alphabetic character.
EXPRES =
CHARACTER
( )
(Given and Returned)
On entry this contains a TRANSFORM algebraic-like expression which may
contain tokens which need to be substituted by other expressions (functions). References to
other functions within functions are allowed and prompts will be made until all tokens
are absent from the expression, however, later uses of the same tokens will be replaced
with the same value.
STATUS = INTEGER (Given and Returned)
The global status.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑