...
String[]
Example
Code Block |
---|
string [] result = runSILInline("return \"SIL is \" + argv[0];", "awesome"); // returns "SIL is awesome" string script = "number sum = 0; for (string s in argv) { sum += (number)s; } return sum;"; string [] argsArr = "1|2|3"; string [] result = runSILInline(script, argsArr); // returns "6" |
...