problem.validformula
problem.validformula |
Purpose
Check a formula in internal (parsed or unparsed) format for unknown tokens
Synopsis
(token, name, stringtable) = problem.validformula (type, value)
Arguments
type
|
Array of token types providing the formula.
|
value
|
Array of values corresponding to the types in
inType
|
ntoken
|
Number of the first invalid token in the formula. A value of zero means that the formula is valid. May be
None if not required.
|
name
|
Character buffer to hold the name of the first invalid token. May be
None if not required.
|
stringtable
|
Character buffer holding the names of the unidentified tokens (this can be created by
problem.preparseformula).
|
Related topics