FORTRAN Reference Manual

Utility Routines
FORTRAN Reference Manual528615-001
15-50
PUTSTARTUPTEXT Routine
Example
?GUARDIAN PUTPARAMTEXT
INTEGER error
CHARACTER*100 new text, old text
READ (9,*) new text
error = PUTPARAMTEXT (old text, new text, 0 )
PUTSTARTUPTEXT Routine
The PUTSTARTUPTEXT routine creates or replaces a specified part of the startup
message with text obtained from a string variable.
result
is an integer variable in which PUTSTARTUPTEXT returns the result of the
operation. See Considerations.
portion
is a character expression that identifies the particular part of the message to
replace. The string value must be a legal parameter name defined for the startup
message. The first unused character position of portion, if any, must be a blank.
Any character including and following a blank is ignored.
text
is a character variable or RECORD containing the replacement text for the startup
message. See Considerations.
cplist
is a checkpoint list in which PUTSTARTUPTEXT records the changes to the
message storage data space. PUTSTARTUPTEXT uses a maximum of six
elements in cplist. For additional detail, see the Checkpoint Considerations for
Saved Message Utility Routines on page 15-28.
result = PUTSTARTUPTEXT ( portion , text , cplist )