User Tools

Site Tools


harlowe:for

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
harlowe:for [2017/06/19 00:33]
l
harlowe:for [2017/10/09 20:39] (current)
Line 12: Line 12:
 === Rationale: === === Rationale: ===
  
-Suppose you're using [[harlowe:​array|array]] to store strings representing inventory items, or character [[harlowe:​datamap|datamap]],+Suppose you're using [[harlowe:​array|arrays]] to store strings representing inventory items, or character [[harlowe:​datamap|datamaps]],
 or other kinds of sequential game information - or even just built-in arrays like [[harlowe:​history|(history:​)]] - and you or other kinds of sequential game information - or even just built-in arrays like [[harlowe:​history|(history:​)]] - and you
 want to print out a sentence or paragraph for each item. The (for:) macro can be used to print something "for each" want to print out a sentence or paragraph for each item. The (for:) macro can be used to print something "for each"
harlowe/for.txt ยท Last modified: 2017/10/09 20:39 (external edit)