-
Notifications
You must be signed in to change notification settings - Fork 0
ams.xlua.Const
Captain Spaulding edited this page Nov 17, 2021
·
2 revisions
Implements constants variables. Each key of the constants key can be written only once during the initialization, then it can not be modified anymore.
local Const = require('ams.xlua.Const')
Defines a local Const constructor.
-
Const([table])- Creates a new constants table and returns it;
| type | description | |
|---|---|---|
<Const>:pairs() |
iterator | Returns a key-value pair at each iteration |
<Const>.<key> |
write_once | The constant variable |
Nothing.
None.
AMS an Advanced Library Package for FlyWithLua
Updated to v.1.55a (private alpha)
Copyright (C) 2021 Pasquale Croce
- ams.core.kernel
-
ams.core.dref_mgr
- ams:create_dref()
- ams:create_command()
- ams:map_dref()
- ams.core.wm
- ams:register_window()
- ams.core.for_loop
- ams:for_loop()
- ams.core.spc
- ams:spc()
-
ams.core.procs_mon
- ams:procs_mon()
- ams.core.debug
- ams.core.config
- ams.sys.info
- ams.sys.timer
- ams.sys.win.timer
- ams.SDK.XPML
- ams.SDK.scenery
- ams.SDK.map
- ams.SDK.datarefs
- ams.SDK.AIplanes
- ams.SDK.menus
- ams.SDK.processing
- ams.SDK.graphics
- ams.xlua.math
- ams.xlua.strings
- ams.xlua.table
- ams.xlua.Vec2D
- ams.xlua.Const
- ams.xlua.Stack
- ams.carillon.carillon
- ams.utils.tts
- ams.install.loader