19.4.5. Looking up a String Value

A User Fortran routine can pick up any user parameter value as a simple string, by calling the utility:

      CALL USER_PEEKCS( CDANAM, VALUE, CERACT, CRESLT, CZ )

Input Arguments:

  • CHARACTER*(*) CDANAM - solver name of parameter.

  • CHARACTER*4 CERACT - error action:

    • STOP to stop on error.

    • SKIP to continue silently.

    • WARN to continue after warning.

  • CHARACTER*1(*) CZ - solver stack for CHARACTER data.

Output Arguments:

  • CHARACTER*(*) VALUE - value of parameter.

  • CHARACTER*4 CRESLT - result code:

    • GOOD if successful.

    • BIG if data string is longer that length of VALUE variable.