GENERATE

GENERATE

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

GENERATE

Generates application code from a template.

Syntax

GENERATE zimprog [ (parm)|string ]

Parameters

zimprogThe name of an application document that contains an application program template.
parmAn expression whose value is to be passed to zimprog. Multiple parameters must be separated from one another by commas.
stringA 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%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish