!defines from multiple terndef files


#1

Hi,

i have a problem with using types defined in a terndef from another file.
The types seem to not exist. The funny thing is, that they do exist, if I use them as part of a static construct in the defining file.

Is there some kind of optimization, that hides not used types from the !defined block?

Best regards and thanks for your help


#2

Types in a !define block are only visible within the file that defines them. If you want to refer to them from outside, you currently have to put them somewhere in a property or variable. There are some plans for allowing you to specify dependencies and refer to defines in those dependencies, but I haven’t gotten around to implementing that.