INCLUDE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=INCLUDE <filename> |description=*DESCRPTION* |param1=<filename>|param1_desc={{filename}} }} ===Example=== :- INCLUDE Category:Language
 
ConnerO (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Category:Language|{{Up}}]]
{{Command|syntax=INCLUDE <filename>
{{Command|syntax=INCLUDE <filename>
|description=*DESCRPTION*
|description=:Include the contents of another file in a macro.


|param1=<filename>|param1_desc={{filename}}
|param1=<filename>|param1_desc={{filename}}
Line 6: Line 8:


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


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

Latest revision as of 22:35, 30 July 2010

Up

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"