Difference between revisions of "EVALUATE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Expressions and Type Conversion
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to evaluate a character expression and return the result
 
Function to evaluate a character expression and return the result
Line 33: Line 29:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 17:11, 27 November 2009

Purpose

Function to evaluate a character expression and return the result


Syntax

EVALUATE(<expC>)


See Also

BETWEEN(), CHROVERLAP(), EMPTY(), EXPRCHECK(), INLIST(), ISALPHA(), ISBLANK(), ISDIGIT(), TYPE()


Description

The EVALUATE() function the result of an expresion specified as a character expression <expC>. The <expC> can contain any valid expression of any data type enclosed in string delimiters.


Example

use demo
? evaluate("customer.last_name")
Siegel
? evaluate("1+1")
2
m_var = "DATE() > {01/01/2001}"
? evaluate(m_var)
.T.


Products

Recital Server, Recital