Expression.CheckDefinition Method

Checks if left part of the definition expression is specified correctly.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public static int CheckDefinition(
	Entry leftPart,
	out Entry[] arguments,
	out Term[] variables
)

Parameters

leftPart  Entry
Left part of the definition expression.
arguments  Entry[]
Creates an array of functions (if left part is function) arguments.
variables  Term[]
Creates an array of function's (if left part is function) variables.

Return Value

Int32
Returns a check status. If returns "-1" - this expression is correct but cannot be used as the left part of the definition expression. If returns number of variables - expression is correct. Any other number means index of variable that causes an error.

See Also