Expression.CheckDefinition Method
Checks if left part of the definition expression is specified correctly.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public static int CheckDefinition(
Entry leftPart,
out Entry[] arguments,
out Term[] variables
)
Public Shared Function CheckDefinition (
leftPart As Entry,
<OutAttribute> ByRef arguments As Entry(),
<OutAttribute> ByRef variables As Term()
) As Integer
public:
static int CheckDefinition(
Entry^ leftPart,
[OutAttribute] array<Entry^>^% arguments,
[OutAttribute] array<Term^>^% variables
)
static member CheckDefinition :
leftPart : Entry *
arguments : Entry[] byref *
variables : Term[] byref -> int
- 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.
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.