Skip to content
RobertTheGrey edited this page Jan 12, 2013 · 1 revision

<set>

Assigns an expression to a variable.

<set x="a" y="b" />

Results in C#:

x = a;
y = b;

This is arguably the least interesting element in the entire Spark library. But if it wasn't there you'd probably have to escape assignments into code fragments like #x = a;. So there you go.

Clone this wiki locally