option OutFile = "MyCodeFile.cpp"; import "AnimalUtilities.cs"; script <? using System.Drawing; namespace Animals { public class Fox { public Color FurColor = Color.Brown; public int Age; public Fox() { this.Age = AnimalUtilities.RandomAge(); } } } ?>; permute Combo : int[1,10]; permute Family alias fox : array Animals.Fox[] = <? { new Animals.Fox() { FurColor = System.Drawing.Color.Red }, new Animals.Fox() { FurColor = System.Drawing.Color.Blue }, new Animals.Fox() { FurColor = System.Drawing.Color.Yellow }, new Animals.Fox(), new Animals.Fox() { FurColor = System.Drawing.Color.Purple }, } ?>; handler <? Combo == 7 ?> { brown = "Green"; } handler <? All ?> { // Order of handlers actually matters as it is the order they are executed in // Order of replacements inside the handlers also matter brown = <? fox.FurColor.ToString() ?>; "quick" = <? fox.Age.ToString() + " year old" ?>; // Clear empty lines "(\r\n){2,}" = "\r\n"; "(\n){2,}" = "\n"; "(\r){2,}" = "\r"; } source% The quick $brown$ fox jumped over the lazy dog