STRING

The STRING statement defines a character string that may be referred to later in the execution of Adams Solver. An interactive STRING command can be used to alter or review this character string. A GTSTRG subroutine can be used to retrieve this character string in a user-written subroutine.

Format

STRING/id, STRING=c

Arguments

 
STRING=c
Specifies the character string to be stored. You must include a character string and the supplied string may be as long as 1024 characters. The STRING argument and value must appear together on one line.
 
Caution:  
The following characters are not permitted in a STRING argument because they are delimiters in the Adams Solver command language: comma (,), semicolon (;), ampersand (&), and exclamation point (!). This is because the comma indicates that additional Adams Solver arguments follow; the semicolon indicates that additional Adams Solver statements follow on the same line; the ampersand indicates that the next line is a continuation of the statement on this line; and the exclamation point indicates that Adams Solver is to stop reading the line.

Examples

STRING/101, STRING=MARKER=
This STRING statement enters the character string MARKER= for later reference. The GTSTRG subroutine can retrieve this string.
See other Reference data available.