User Tools

Site Tools


harlowe:macro_syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
harlowe:macro_syntax [2017/06/20 02:02]
l created
harlowe:macro_syntax [2017/06/20 02:02]
l
Line 1: Line 1:
 +====Macro syntax====
 In Harlowe, macros are called by writing the name, a colon, and some data values to provide it, all in parentheses. For instance, you call the [[harlowe:​print|(print:​)]] In Harlowe, macros are called by writing the name, a colon, and some data values to provide it, all in parentheses. For instance, you call the [[harlowe:​print|(print:​)]]
 macro like so: ''​%%(print:​ 54)%%''​. In this example, ''​%%print%%''​ is the macro'​s name, and ''​%%54%%''​ is the value. macro like so: ''​%%(print:​ 54)%%''​. In this example, ''​%%print%%''​ is the macro'​s name, and ''​%%54%%''​ is the value.
harlowe/macro_syntax.txt ยท Last modified: 2017/10/09 20:39 (external edit)