INCLUDE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 6: Line 6:


===Example===
===Example===
:#INCLUDE "CommonCode.txt"
:<nowiki>#</nowiki>INCLUDE "CommonCode.txt"


[[Category:Language]]
[[Category:Language]]

Revision as of 22:20, 26 July 2010

Command

INCLUDE <filename>


Include the contents of another file in a macro.

Parameters

<filename>
Filename as either text in double quotes, or a text variable.
If the filename does not contain full path information, then the file will be opened in the same folder as the macro.

Example

#INCLUDE "CommonCode.txt"