Category:Math Functions

Revision as of 13:40, 5 July 2007 by imported>DragoonWraith (headers)

These functions provide advanced mathematical operations for use with numbers within scripts. This is in addition to +, -, *, /, and %, which are described in the Set article.

Because these are functions and not operators, they cannot accept expressions as arguments. That is, you cannot use this:

Function ( x + y )

You must instead use a variable to store the value and pass the variable:

set z to ( x + y )
Function z

With OBSE

In the case of OBSE functions, these functions may be used normally, including as a part of an experssion, like so:

set z to ( y + Function x )

Without OBSE

In the case of the Stage Functions that may be used without OBSE, these are more complicated workarounds developed before OBSE. Please read the Stage Function article for more information.


Because of the different approaches to the same functions, rather than listing all of the functions in this category, please use the subcategories below to find the information that you are looking for.