Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/lua-winreg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Melnichuk <alexeymelnichuck@gmail.com>2016-11-05 17:02:14 +0300
committerAlexey Melnichuk <alexeymelnichuck@gmail.com>2016-11-05 17:02:14 +0300
commit07221a6e2eb9ef08eaee026a7c132b15204413ab (patch)
tree5011651ec5e90a293c3c0c06f8f85291c20aa20f /README.md
parent3a1c8ab327cad1771664cc6e5ddb83706f22d93a (diff)
Add. rockspec and appveyor.yml files.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index aa9a887..d0f5091 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,9 @@ All Rights Deserved. Use at your own risk!. Shake well before using.
#Introduction
-winreg is a Lua binary module to Access Microsoft(R) Windows(R) Registry. The registry is a system-defined database that applications and Microsoft(R) Windows(R) system components use to store and retrieve configuration data.
+winreg is a Lua binary module to Access Microsoft(R) Windows(R) Registry. The registry is a
+system-defined database that applications and Microsoft(R) Windows(R) system components use to
+store and retrieve configuration data.
Load the module via the require function (make sure Lua can find the module), for example:
```lua
@@ -21,8 +23,8 @@ hkey = winreg.openkey[[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers
skey = hkey:openkey([[Explorer\Shell Folders]])
for name in skey:enumvalue() do
- print("\nname: " .. name
- .. "\npath: " .. skey:getvalue(name))
+ print("\nname: " .. name
+ .. "\npath: " .. skey:getvalue(name))
end
```