summaryrefslogtreecommitdiff
path: root/plugins/MirLua/docs
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-16 15:15:01 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-16 15:15:01 +0000
commit6dc20e70f308daee742372a7978c1f65668186f3 (patch)
tree232e56b9d1c8766221902a946b2cdc63355e0873 /plugins/MirLua/docs
parentc9700c210aa7252faa78af4fbd39a6e0de9f1642 (diff)
MirLua:
- added variables module - strings passed through WPARAM/LPARAM should be ansi git-svn-id: http://svn.miranda-ng.org/main/trunk@14207 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/docs')
-rw-r--r--plugins/MirLua/docs/examples/variables.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/MirLua/docs/examples/variables.lua b/plugins/MirLua/docs/examples/variables.lua
new file mode 100644
index 0000000000..dee0f4f8e0
--- /dev/null
+++ b/plugins/MirLua/docs/examples/variables.lua
@@ -0,0 +1,5 @@
+local vars = require('m_variables')
+
+m.OnModulesLoaded(function()
+ print(vars.FormatString('?add(2,2)'))
+ end)