Prev | Next |
Data Types for Input Output Clauses
To ensure the model is well-formed and the logic is correctly specified and for the simulations to work it is critical to set the data type for all Input and Output Clauses. Range, gap and overlap validations are supported for clauses of type 'number', but validation cannot be performed if the type has not been specified. Code Generation for typed languages such as C++, C# and Java requires that the data types are specified. When the data type is specified as 'string', there is no need to enclose each string literal within quotes. String values are displayed using italic font if the type has been declared.
To set the data type, right-click on the Input Clause or Output Clause and select the required type from the list.
