Difference between revisions of "EXPRCHECK()"
From Recital Documentation Wiki
		
		
		
| Yvonnemilne  (Talk | contribs) | Helengeorge  (Talk | contribs)  | ||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| ==Purpose== | ==Purpose== | ||
| Function to check expression for errors | Function to check expression for errors | ||
| Line 34: | Line 30: | ||
| ==Products== | ==Products== | ||
| − | Recital  | + | Recital Server, Recital   | 
| [[Category:Documentation]] | [[Category:Documentation]] | ||
| [[Category:Functions]] | [[Category:Functions]] | ||
Latest revision as of 17:13, 27 November 2009
Purpose
Function to check expression for errors
Syntax
EXPRCHECK(<expC>)
See Also
Description
The function EXPRCHECK() evaluates the Recital/4GL expression specified in the string <expC>, and returns the appropriate Recital 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
Recital Server, Recital
