Model Element |
||||||||||||||||
Class NameString DescriptionString defines a user defined text string in MotionSolve. The string may be of any length. It must contain only printable ASCII characters. String is primarily used within user-defined subroutines. They are commonly used to pass file names, messages, block names, and DLL names to user defined subroutines. Within a user defined subroutine, the MotionSolve utility subroutine GTSTRG is used to access the String. The ID of the String itself may be passed as a parameter to the user-defined subroutine. Attribute Summary |
||||||||||||||||
Usage |
||||||||||||||||
String (string=String, optional_attributes) |
||||||||||||||||
Attribute Description |
||||||||||||||||
string |
String Specifies the character string to be stored The attribute string is mandatory. |
|||||||||||||||
id |
Integer Specifies the element identification number. This number must be unique among all the String objects in the model. This attribute is optional. MotionSolve will automatically create an ID when one is not specified. Range of values: id > 0 |
|||||||||||||||
label |
String Specifies the name of the String object. This attribute is optional. When not specified, MotionSolve will create a label for you. |
|||||||||||||||
Comments
|
||||||||||||||||
ExampleThe example below shows how a string may be defined.
|