CupCarbon icon indicating copy to clipboard operation
CupCarbon copied to clipboard

Issues in creation new function

Open Abdel-Nasser-Ateeq opened this issue 4 years ago • 0 comments

I am trying to create my own function as user-guide recommended. I wrote the following codes in the following paths.

(Path) Package Script_functions=> Class ScriptFunction=> method function

      if (function.equals("myf")){

            return Function_Calc.myf(args);

        } 

I wrote the below code in this path. (Path) Package Script_functions=> Class Functions

public static String myf (String [] args) throws Exception{

                String valToReturn = "Nassser";

                return valToReturn;

}

And I invoked the function as follows:

function x myf But unfortunately, it didn't work.

Abdel-Nasser-Ateeq avatar Mar 19 '20 13:03 Abdel-Nasser-Ateeq