613-518-1166 info@zimdatabases.com

ZIM Development Center (DC) for Zim 7

pCDLInterpret

< All Topics

pCDLInterpret

Build commands for interpretative execution.

Syntax

pCDLInterpret ( in vlOperation,
                in  vlSyntax )

Parameters

vlOperation

A string with the value “INIT”, “SYNTAX”, or “EXEC”.

vlSyntax

A piece of command syntax to be added to the command being constructed.

Comments

Use pCDLInterpret to build up Zim command syntax for interpretative execution. It is useful for building up a single Zim command piece by piece. The “INIT” option is used to initialize the command to be blank. Syntax can be passed with any operation and is appended to the command to be executed. The “EXEC” option causes the command to be executed interpretively.

The pCDLInterpret command has the added option for specifying the output document. Set the document name before calling pCDLInterpret.

Example

This example writes ‘find all Customers’ to the document myDoc and then executes the document.

let $Deployserices.$CDLInterpret.DocName = ‘myDoc’
$DeployServices.pCDLInterpret(‘Exec’, ‘find all Customers’)

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents