평가 된 NewScript ()에 주석 포함실행시 작성된 스크립트에 주석을 포함하는 가장 쉬운 방법은 무엇입니까?
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"};스크립팅Re : 평가 된 NewScript ()에 주석 포함내가 할 방법은 다음과 같습니다.
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\!"};";