>> Anyone got syntax or code fragment that works for them? <<
The problem withthe macro language is that documentation is often
incomoplerte, abiguous, or just plain wrong. To make matters worse, there
is no editor to 'check' the macro syntax. This can drive you nuts at times.
I have used the %diagramProp macro in referencing UDP's I have set up to do
an attribute to column name transaltion via a table lookup to determine the
'std abbreviations' to use for words in the attribute name. I workd very
the syntax I use here is :
where abbrev is the name of the UDP (which is a diagram level udp)
this code will lookup the attribute name (%attdomian) in the lookup file (a
text file) pointed to by the 'abbrev' udp.
Be sure that you carefull check your syntax (i.e. matching paren, comamas
etc.) as these are the things that most often cause the macro not to work.
I is particularly important where you start stringing a bunch of these
macros together and are inserting macro expressions within a parameter of