Index: ProgrammableOperator.cs
===================================================================
--- ProgrammableOperator.cs	(revision 113)
+++ ProgrammableOperator.cs	(working copy)
@@ -57,7 +57,8 @@
       myDescription = "An operator that can be programmed for arbitrary needs.";
 
       AddVariableInfo(new VariableInfo("Result", "A computed variable", typeof(BoolData), VariableKind.New | VariableKind.Out));
-      Compile();
+      //Compile();
+      executeMethod = null;
     }
 
     public void SetDescription(string description) {
@@ -146,8 +147,10 @@
     }
 
     public override IOperation Apply(IScope scope) {
-      if (executeMethod == null)
-        throw new InvalidOperationException("No compiled code available.");
+      if (executeMethod == null) {
+        //throw new InvalidOperationException("No compiled code available.");
+        Compile();
+      }
 
       // collect parameters
       object[] parameters = new object[VariableInfos.Count + 2];
