12-14-2023 01:52 AM
Hello,
the ParameterVariable attribute "typeName" has the following documentation:
Only for varType VOID: The name of a struct, FB or interface type that the variable must be of. Use keyword STRUCT to allow any struct instance (not including FB instances).
However, it also works for Enums. I had just read the documentation and assumed enums wouldn't work, until a colleague made me aware they do. Please add enums to the explanation.
Solved! Go to Solution.
12-14-2023 04:32 PM
To be honest: This comment is even more incomplete than you think. It would be pushing the limits of the XML schema to explain the complete syntax of the typeName attribute. The current comment is more like an example.
(Enumerations are included in BASICTYPE, NUMERIC and INTEGER.)
12-15-2023 05:36 AM
Oh, that's really interesting to know. Thanks for sharing the details.