1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

[doc] update doc, tutorial first draft

This commit is contained in:
Étienne Fildadut 2024-06-02 22:53:36 +02:00
parent 9e01be548c
commit a5bbe0eeb0
6 changed files with 330 additions and 27 deletions

View file

@ -1070,7 +1070,7 @@ Creates and returns a new script.
Some variables are defined into the script/`fn` scope. They are all stored from persistent storage, using the script name as part of their persistent key:
* `current checkpoint` is the currently set checkpoint (an anchor);
* `reached` is a table of *{ #anchor = number, ... } which associates to an anchor the number of times it was reached (see `check` and `checkpoint`);
* `reached` is a table of `*{ #anchor = number, ... }` which associates to an anchor the number of times it was reached (see `check` and `checkpoint`);
* `run` is the number of times the script was successfully called.
As well as functions defined in the script scope:
@ -1336,4 +1336,4 @@ _defined at line 14 of [anselme/stdlib/wrap.lua](../anselme/stdlib/wrap.lua):_ `
---
_file generated at 2024-06-01T12:26:47Z_
_file generated at 2024-06-02T20:52:37Z_