*fieldleftwithcomments()
Places a left-justified, formatted field name and value from the database into the output file. The field name is written just above the value line.
Syntax
*fieldleftwithcomments (field_name, type, data_name, width)
Type
HyperMesh Template Command
Description
Places a left-justified, formatted field name and value from the database into the output file. The field name is written just above the value line.
Inputs
- field_name
- The solver field name of characters. If the string contains a space, an asterisk, or a comma, the string must be enclosed by double quotes. If the string name length is less than the width, spaces are appended after the string. If the string name length is more than the width, the name is truncated such that the length is equal to width.
- type
- Either integer, unsigned, real, exponential, string, hexadecimal, or quoted. For simplicity, the first letter is required; all others are optional but recommended.
- data_name
- The name of the data to be accessed.
- width
- Width of the formatted field. In the case of real, scientific notation is used in order to make the value fit.
Example
To write the left-justified field name "My field" with the integer data name myint using a width of 10:
*fieldleftwithcomments("My field",integer,myint,10)
Version History
2020