update doc/*/scripting/builtins/libapp.md

This commit is contained in:
MihailRis 2025-11-04 11:59:58 +03:00
parent ca6096c397
commit 9afe265094
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ The script/test name without the path and extension is available as `app.script`
local filename = "script:"..app.script..".lua"
```
Since the control script may not belong to any of the packs, it does not belongs to its own package and has its own global namespace in which all global functions and tables are available, as well as the `app` library.
## Functions
```lua

View File

@ -7,6 +7,8 @@
local filename = "script:"..app.script..".lua"
```
Так как управляющий сценарий может не принадлежать ни одному из паков, он не относиться к своему паку и имеет собственное пространство имён, в котором доступны все глобальные функции и таблицы, а также библиотека `app`.
## Функции
```lua