I looked at the documentation for CallMapBasicSubroutine in the Extensibility Reference:
void CallMapBasicSubroutine(
string methodName,
params string[] parameters
)
The parameters need to be passed to the subroutine as a string array.
The docs state:
Parameters
methodName
Type: SystemString
name of the mapbasic subroutine to call
parameters
Type: SystemString
Parameters to the subroutine. Parameters are passed by value to the subroutine; if the subroutine accepts no arguments, then pass null.
However, after reading this post, I realized that we may not support you passing multiple parameters as an array. The workaround is to concatenate your parameters into a single string separated by semicolons, and then split them in the procedure.
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------