Skip to content

Commit

Permalink
Update Input.md
Browse files Browse the repository at this point in the history
added some information about parse$ values
  • Loading branch information
roodyyogurt authored Apr 24, 2024
1 parent 32341c4 commit 3043bf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _pages/input-output/Input.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ all understood words are still sent to the
[parse$](parsing/parse$/)). This way, the author can check for
specific entries on a word-by-word basis.

If any unrecognized or quoted words are stored as [parse$](parsing/parse$/), it's important to know that 'input' gives its place in the [word array](basics/word-array/) the numerical value of 0 (unlike normal game loop parsing, which gives it a value of -1).

When called by itself, the player's input has no textual
[prompt](globals/prompt/) (">"). Because of this, `input` is often
called indirectly by something like [GetInput](input-output/getinput/)
Expand Down

0 comments on commit 3043bf9

Please sign in to comment.