I have defined a function(say fun) to do certain task, it works well when I call it from a script file(say script1). However, when I copy the complete script1 and paste onto another script file(say script2), the function, fun, doesn't execute. It's very peculiar as my project requires lot of modification, so I copy the old script and paste onto new than re-writing everything.
I wonder if this is default issue with maple or am I missing something.
I appreciate your help. Thank you.
P.S: Note that this is not limited to one function but with all the functions I created. Further, all the functions are ran before running script2 and these functions are stored in library by using command, LibraryTools:-Save('fun',"fun.mla").