At the first piece: Yes indeed, it loops infinetly
At the second piece: No need to change my code, it already supports custom functions... Just write a function in the script, like this:
code:
function Root (Base, Root) {
if (Root == undefined) Root = 2
return Math.pow(Base, 1 / Root)
}
Debug.Trace("4".Calculate())
At the third piece: True, in normal maths the minus is used as negation and subtraction, I have to take a look at how to know the difference between the two... (After I get back from school again)