Skip to content

Commit 089eb5d

Browse files
authored
Merge pull request #2516 from keymanapp/docs/2374_store
docs: improve documentation on `store()` Fixes: #2374
2 parents 5ed1f5b + 58b3097 commit 089eb5d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

developer/language/reference/store.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ store(storeName) value
2020
`value`
2121
: An extended string value.
2222

23+
If used to declare a [variable store](../guide/variable-stores), this
24+
will be the initial default value. Any persisted value stored
25+
previously with [`save()`](save) will take precedence over `value`.
26+
Note that variable stores should not be used with [`any()`](any),
27+
[`index()`](index), or [`outs()`](outs).
28+
2329
## Description
2430

2531
The `store()` statement lets you store a string of characters or keys in

0 commit comments

Comments
 (0)