Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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"

...

Note

  1. If you don't need/have any arguments, pass an empty string for the args parameter.
  2. You need to perform all the necessary escapes.

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "system_routinesroutine" and space = currentSpace ( )
labelsarray_routines