oldFunction: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Initial write-up.)
 
mNo edit summary
Line 3: Line 3:
|name=oldFunction
|name=oldFunction
|description=
|description=
Used within a user defined function to call the function that the aforementioned user defined function redefind.
Used within a user defined function to call the function that the aforementioned user defined function redefined.


|usage=
|usage=

Revision as of 19:55, 16 April 2009

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

oldFunction() Function

Used within a user defined function to call the function that the aforementioned user defined function redefined.

Usage

oldFunction(SPECIAL)

Parameter

  • SPECIAL - oldFunction supports the same parameters as the function that it is referencing.

Examples

Used within a user defined function named eval(), oldFunction() is used to call the standard eval().
[h, if ( arg(0) == 0 ), code:
{
    [h: macro.return = 0]
};{
    [h: macro.return = oldFunction( arg(0) ) ]
}]

See Also