User Tools

Site Tools


remember

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
remember [2013/12/17 20:06]
l created
remember [2014/09/20 17:20]
127.0.0.1 external edit
Line 2: Line 2:
  
 ====Motivating example==== ====Motivating example====
-Variables are reset every time the reader restarts a story. If you'd like to remember the value of a variable after the game, use the ''​<<​remember>>​'' ​macro. It works exactly the same way as ''​<<​set>>​''​, except it stores the variable in browser storage that remains between sessions.+Variables are reset every time the reader restarts a story. If you'd like to remember the value of a variable after the game, use the [[<<​remember>>​]] macro. It works exactly the same way as [[<<​set>>​]], except it stores the variable in browser storage that remains between sessions.
  
 <​code>​ <​code>​
remember.txt ยท Last modified: 2017/10/09 20:39 (external edit)