Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: g.makulik on May 10, 2012, 04:31:58 am
-
Can anyone tell if there's a dedicated comment format for the transformation intermediary language? I couldn't find anything mentioned about this in the documentation :(.
I just guess it might be s.th like
-- comment text --
because this is used by EA for a text file written with the IL debug option for a transformation to show the transformation type.
I'd like to write some comments to IL for debugging purposes. Any hint appreciated.
Günther
-
IIRC the Sparxians once recommended something like
COMMENT = "what you want";
q.
-
IIRC the Sparxians once recommended something like
COMMENT = "what you want";
q.
No, that doesn't work (IIRC that refers to the template syntax, but you need to use $COMMENT).
I'm afraid there's no comment format recognized by the IL parser at all. I've been trying several variants as
COMMENT = "comment"
-- comment --
// comment
/* comment */
All of these lead to parsing errors.
At least it's not that important for me, I have other opportunities for debugging, event not so convenient ones ...
WBR
Günther
-
Anyway, why would you comment your code at all? Better use this: h
ttp://de.wikipedia.org/wiki/Brainfuck. You need to copy/paste the link as this silly YABB converts words like (all non-Europe readers - BEEP starts) fuck (BEEP ends) and (same readers BEEP) shit (BEEP ends - I hope you're still sane) into fuck and shit. How stupid!
q.