Is there a clean way to pass a string parameter to an
actor without it being interpreted as an expression? I
have a situation where I want the actor to do the
interpretation, complete with semantically significant
embedded newlines. If I enter something with \ and
\ surrounding the text, it will
Thanks for the quick response. I presume then that to set this
attribute would require directly editing the xml file since Vergil
would not expose the StringAttribute as a visible (and therefore
configurable) attribute. Is that true?
Thanks - Jim
Stephen Andrew Neuendorffer wrote:
Assuming you
Assuming you are writing your own actor, the easiest way to deal with this
is to
use a StringAttribute instead of a Parameter.
This issue comes up in other contexts as well... for example, if you have
a string with
octal codes in it, the expression parser properly substitutes them into the
Again, thanks for the quick response. I switched over to the
StringAttribute from Parameter. I still seem to get embedded
newlines stripped. \n escape remains \n in the resulting string.
Editing the xml to test results in the elimination of the embedded newline:
property