|
ENTITY Format_function SUBTYPE OF (String_expression, Binary_generic_expression); DERIVE value_to_format : Generic_expression := SELF\Binary_generic_expression.operands[1]; format_string : Generic_expression := SELF\Binary_generic_expression.operands[2]; WHERE WR1: (('EXPRESSION_ARM.NUMERIC_EXPRESSION') IN TYPEOF(value_to_format)) AND (('EXPRESSION_ARM.STRING_EXPRESSION') IN TYPEOF(format_string)); END_ENTITY; -- Format_function |
Entity data types and their attributesGeneric_expression- Expression - String_expression - Binary_generic_expression operands: LIST [2:2] OF Generic_expression; Format_function (DER) value_to_format: Generic_expression; (DER) format_string: Generic_expression; |
Global rules for this entity data type- |