Difference between revisions of "EXPRCHECK()"
From Lianjapedia
m (Text replace - "Recital" to "Lianja") |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to check expression for errors | Function to check expression for errors | ||
− | |||
==Syntax== | ==Syntax== | ||
EXPRCHECK(<expC>) | EXPRCHECK(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
[[ERROR()]], [[MESSAGE()]] | [[ERROR()]], [[MESSAGE()]] | ||
− | |||
==Description== | ==Description== | ||
The function EXPRCHECK() evaluates the Lianja/4GL expression specified in the string <expC>, and returns the appropriate Lianja error number, or 0 if the expression evaluated correctly. | The function EXPRCHECK() evaluates the Lianja/4GL expression specified in the string <expC>, and returns the appropriate Lianja error number, or 0 if the expression evaluated correctly. | ||
− | |||
==Example== | ==Example== | ||
Line 27: | Line 23: | ||
return m_ret | return m_ret | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== |
Revision as of 11:30, 12 December 2012
Purpose
Function to check expression for errors
Syntax
EXPRCHECK(<expC>)
See Also
Description
The function EXPRCHECK() evaluates the Lianja/4GL expression specified in the string <expC>, and returns the appropriate Lianja error number, or 0 if the expression evaluated correctly.
Example
function CheckExpr parameter querystring if exprcheck(querystring) > 0 dialog box "Error in Query String: " + message() m_ret = .F. else m_ret = .T. endif return m_ret
Products
Lianja Server, Lianja