Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Documentation for counter-up seems incorrect #20

Open
curiousdannii opened this issue Mar 12, 2022 · 0 comments
Open

Documentation for counter-up seems incorrect #20

curiousdannii opened this issue Mar 12, 2022 · 0 comments
Labels
documentation An error or omission in Inform 7's documentation

Comments

@curiousdannii
Copy link
Member

Docs §27.29:

The token "{-counter:NAME}" expands into the current value of the counter, as a literal decimal number. The token "{-counter-up:NAME}" does the same, but then also increases it by one.

I think this is incorrect - {-counter-up:NAME} doesn't expand into the value of the counter. Every instance in the Standard Rules looks like {-label:Say}{-counter-up:Say}.

@curiousdannii curiousdannii added the documentation An error or omission in Inform 7's documentation label Mar 12, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation An error or omission in Inform 7's documentation
Projects
None yet
Development

No branches or pull requests

1 participant