I tried to declare a function in a node defined as flexscipt. I used the same approach as in C++ where I declared a double() function that returns a value but syntax did not seem to work. Is there a way to declare functions in flexscript at all? Thank you!