Einfügen von Kommentaren in ein ausgewertetes NewScript ()Was wäre der einfachste Weg, Kommentare in ein Skript aufzunehmen, das bei der Ausführung geschrieben wird?
dt = CurrentDataTable();
mystring = "Hello world!";
mylist = {"A", "B", "C"};
Eval(EvalExpr(dt << NewScript( "test",
// This comment will not appear in the new script as it is inside the Eval(EvalExpr())
mystring = Expr(mystring);
mylist = Expr(mylist);
)));
// JSL output
// mystring = "Hello world!";
// mylist = {"A", "B", "C"};SkriptingBetreff: Einfügen von Kommentaren in ein ausgewertetes NewScript ()Hier ist, wie ich es machen würde
dt = CurrentDataTable();
mystring = "Hello world!";
mylist = {"A", "B", "C"};
Eval(EvalExpr(dt << NewScript( "test",
c = "// This comment will not appear in the new script as it is inside the"; Eval(EvalExpr())
mystring = Expr(mystring);
mylist = Expr(mylist);
)));
c = "// JSL output";
c="// mystring = \!"Hello world!\!";";
c = "// mylist = {\!"A\!", \!"B\!", \!"C\!"};";