613-518-1166 info@zimdatabases.com

ZIM Language Reference

GENERATE

< All Topics

Generates application code from a template.

Syntax

GENERATE zimprog [ (parm)|string ]

Parameters

zimprog

 

The name of an application document that contains an application program template.

 

parm

 

An expression whose value is to be passed to zimprog. Multiple parameters must be separated from one another by commas.

 

string

 

A string that is passed to zimprog if zimprog is a macro program.

 

Comments

The commands in zimprog are executed interactively. When an opening program template delimiter (<<) is encountered, execution is suspended, and the subsequent lines are written (after macro substitutions) to the current output. This process ends when a closing program template delimiter (>>) is encountered alone on a line.

 

See Also

$ (Template line join)

Program Templates and the GENERATE Command

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