Previous Topic: %DiagramProp()

Next Topic: %FunctionReturn

%File()

Expands the macro code within the braces and writes the result to a file.

Syntax

%File(<filename>) {

<macro code>

}

Syntax Example

%File(C:\CA ERwin Data Modeler\myfile.txt) {

%ForEachAttribute() {

%AttName}

}

Expansion

/*Creates a file and writes the results to it. */

Usage

Classified as a Miscellaneous macro.