I know Pythagorean is not a current function. That's not what I'm asking. I'm asking how a user defined function will actually be created. I'm asking if the user defined function will be created inside of a MATH instruction or if it will be created in its own Code-Block called "Function".
They will be code-blocks. We currently have 3 different code-block types, PROGRAMs, TASKs, SUBROUTINEs. You will be able to create FUNCTIONs, USER BOXes, and OBJECTs. These new ones may or may not be part of a Library mechanism - we'll see.
So, after you create the FUNCTION Pythagorean, you would open up that code-block, write the code. So then it will be accessible just like SIN, SQRT in all your MATH boxes, and most likely across all your projects, not just the one project you created it in (i.e. the source logic will be in a Library facility).
If your question then is, the Pythagorean code block will be IMPLEMENTED using a MATH box in it, e.g.
SQRT(P1**2 + P2**2), could you technically recursively call it. Yes, just like current Subroutines are recursive, Functions could be recursive. For example, a lazy but optimized evaluation of Fibonacci values, i.e. see if you've already evaluated Fib of P1, if so, return that value, if not then return P1 + Fib(P1-1).