callFunction()

eSignal EFS 2

callFunction()

Top  Previous  Next

 

callFunction( efsname, funcname [, arguments] )

 

This function is provided for backwards compatibility with EFS1. It allows you to call a specific function within another script and retrieve the return values from that function.

 

Parameters

 

efsname

the path and filename of the EFS script to be called

funcname

the name of the function within the EFS script to be called

arguments

list of input parameters, if any, required by the script being called

 

Usage

 

function main() {

var myVar;

       ...

       ...

 

       //call a function within another script and retrieve the

       //value(s) returned by the function.

       myVar = call( "myCustomMA.efs", "calcStdDev", 150 );

 

}

 

call()