company logo

PropertyHandle :: ExecuteExpression - Execute expression

Execute expression allows running in line expressions or persistent expressions. When running an in line expression containing one or more statements, the expression must be enclosed in {}. The result is returned as property handle, which allows an expression returning elementary or complex instances as well as instance collections.

When calling a persistent expression stored in the resource database the expression name must be preceded by the scope declarator (::).

"if (1>2) Print('true')" // in line expression

::GetTotalIncome(2004) // persistent expression

Return value:  Pointer to roperty handle ( PropertyHandle * )

Implementation details

  1. - internal feature (not documented)
    PropertyHandle PropertyHandle  :: ExecuteExpression ( DBObjectHandle &res_obhandle, NString &cexpression, logical server_opt )
    • res_obhandle - Reference to resource database object handle

      The resource database handle usually is a database handle, which is referred to as database object handle.

    • cexpression - - Title unknown
    • server_opt - Server option

      Functions that may run on client and server side get this option in order to decide where to run the function.

  2. to list
  3. - internal feature (not documented)
    PropertyHandle PropertyHandle  :: ExecuteExpression ( NString &cexpression, logical server_opt )
    • cexpression - - Title unknown
    • server_opt - Server option

      Functions that may run on client and server side get this option in order to decide where to run the function.

  4. to list