View Single Post
Old 04-08-2003, 10:02 AM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,753
How can I access macros containing newlines within script code?

Referencing a macro containing newlines and quote characters (i.e., "%LASTSTEP_OUTPUT%") from script code can result in errors. This happens because the macros are expanded before the script is evaluated, and most script languages don't allow newlines within string expressions (and quote characters denote the end of a string).

Instead, use the macro values in code without expanding to string literals:

If the macro value could reference other macros and/or script expressions, use

Reply With Quote