List of uCalc Functions

 

See Also: Product Overview, Feature List, Operators and Functions

 

 

List of uCalc Fast Math Parser functions:

 

 

ucAddErrorHandler

Adds an error handler

ucArg

Returns the value (numeric) of a given argument in a callback routine

ucArgCount

Returns the number of arguments that are passed to a callback routine

ucArgHandle

Returns the handle of a given argument in a callback routine

ucArgStr

Returns the value (string) of a given argument in a callback routine

ucDefine

Defines an item, such as a function, operator, variable, constant, syntax, pattern, etc.

ucDefineFunction

Defines a function

ucDefineOperator

Defines an operator

ucDefineSyntax

Defines a syntax

ucDefineVariable

Defines a variable

ucError           

Returns the error number of the most recent transaction

ucErrorMessage

Returns an error message

ucEval

Evaluates an expression in one step, returning a numeric result

ucEvalStr

Evaluates an expression in one step, returning the result as a string

ucEvaluate

Rapidly evaluates an expression that was already parsed with ucParse

ucEvaluateStr

Same as ucEvaluate, but returns a string

ucGetTrigMode

Returns the current trig mode (Degree, Radian, or Grad)

ucNewThread

Allocates a new thread

ucExprThread

Returns the handle of the thread that has called a callback routine

ucParse

Parses an expression; returns a handle for use with ucEvaluate

ucRaiseError

Raises an error by setting the numeric value of the error

ucRaiseErrorMessage

Raises an error by setting a customized error message

ucReleaseItem

Releases an item

ucReturn

Sets the return value (numeric) of a native callback routine

ucReturnStr

Sets the return value (string) of a native callback routine

ucSetTrigMode

Sets the trig mode to Degree, Radian, or Grad

ucSetVariableValue

Sets the value of a variable

 

 

Modification in version 3.0

·         ucParam, ucParamStr, ucParamCount, ucParamHandle were renamed ucArg, ucArgStr, ucArgCount, ucArgHandle.  However, the old names are preserved for backward compatibility.

·         The uCalc() function was removed from this list as it falls beyond the scope of uCalc Fast Math Parser.