CONVERT_EXPRESSION Function
Syntax
Arguments
- expression
An expression.
- convert_expression_flags
"V" = Expand vars. Substitute values for variable names. "C" = Expand calcs. Substitute values for calculated value names "L" = Force long names. Expand object names to their full addresses. "S" = Force short names. Remove object name address information.
- tablename
Optional. Default = the current table. The table context of the variables or objects. The name of a table.
- variable_frame
An expression that defines the scope of the variables. See Variable Data Types.
Description
Converts elements of an expression based on flags 'V'-expand vars 'C'-expand calcs, 'L' force longnames , 'S' force shortnames.
Discussion
CONVERT_EXPRESSION() returns a character string by converting elements of an expression based on flags.
Example
The following example substitutes the value of the variable var->name for the expression "var->name".
dim shared name as C name = "ed" filter = "myname = var->name" convert_expression(filter, "V") -> myname = "ed"
See Also