/
runSILInline
runSILInline
Description
Executes the script with the given arguments.
Parameters
Return Type
String[]
Example
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"
If you don't need/have any arguments, pass an empty string for the args parameter.
You need to perform all the necessary escapes.
See also
Related content
call
Read with this
runSILInline
runSILInline
More like this
system
Read with this
runSILInline
runSILInline
More like this
Custom Field Mappings
Custom Field Mappings
Read with this
Arguments (argv variable)
Arguments (argv variable)
More like this