Strings

A string element defines a character string that you can refer to later in the execution of Adams View or Adams Solver. The character string cannot be broken and continued on the next line. It can, however, be longer than a single line. You can use the GTSTRG subroutine to retrieve the character string in a User-written subroutine. For example, you could use a string element to pass a file name to a user-written subroutine. For more information, see the Subroutines section of the Adams Solver online help.

To create or modify a string:

1. Click the Elements tab. From the Data Elements container, click the String tool .
or
(Classic interface) From the Build menu, point to Data Elements, point to String, and then select either New or Modify
2. If you selected:
New, the Create/Modify String dialog box appears, and you should continue with Step 3.
Modify, the Database Navigator appears. Select a data element string to modify. The Data Element Modify String Element dialog box appears. It contains the same options as the Data Element Create String Element dialog box.
3. In the Name text box, enter the name that you want assigned to the string.
4. In the String text box, enter the string values.
5. Select OK.