*stringtablestore()

Stores an entry into the string lookup table.

Syntax

*stringtablestore (key, value)

Type

HyperMesh Template Command

Inputs

key
Assigned to a string lookup table entry and is used by the @stringlookup() function to find stored entries. key can be a data name or a literal string enclosed in double quotes.
value
The value assigned to an entry in the string lookup table and is returned by @stringlookup().

Example

The example below stores the string shells in the string lookup table with a value of 10:

*stringtablestore("shells",10)

The example below saves component names with a value of 1 in the string table:

*components("","")
*format()
*stringtablestore(name,1)
*output()