Plugin:MirLua/de: Difference between revisions
Wishmaster (talk | contribs) Created page with "Es hat auch die Kursversion $a_syntax_symbol." |
Wishmaster (talk | contribs) Created page with "So wie '''toansi''' aber für utf-16. Es hat auch die Kurzversion $u_syntax_symbol." |
||
| Line 17: | Line 17: | ||
=== toucs2 === | === toucs2 === | ||
So wie '''toansi''' aber für utf-16. Es hat auch die Kurzversion '''u'''. | |||
=== tonumber === | === tonumber === | ||
Revision as of 12:41, 7 April 2018
| MirLua | |
|---|---|
| Dateiname | MirLua.dll |
| Autor | Miranda NG team |
| Download-Links | |
| Stabile Version: | 32-bit, 64-bit |
| Entwicklungsversion: | 32-bit, 64-bit |
Erweitert die Funktionalität von Miranda NG um Lua-Skripte.
Lua
Dieses Plugin verwendet Lua 5.3.4, welches in der Bibliothek lua53.dll mitgeliefert wird.
Zusätzliche Funktionen
toansi
Encodes lua utf-8 string to ansi. It can be useful for passing string as parameter to ansi function.
m.CallService('mRadio/Import', 0, toansi(m.Parse('%miranda_path%\\Plugins\\mradio.ini')))
Es hat auch die Kursversion a.
m.CallService('DB/Ini/ImportFile', 0, a'import\\autoexec.ini')
toucs2
So wie toansi aber für utf-16. Es hat auch die Kurzversion u.
tonumber
If it receives light userdata parameter then returns it address as number, otherwise uses standard lua tonumber behavior.
topointer
Konvertiert Lua-Typen bool, number, string zu light userdata.
string.interpolate
Provides a more readable and convenient syntax to format string output.
local h = 'Hello'
print('{h}, {w}!' % {w = 'World'})
Interne Module
- EN
Beispiele
{{#subpages:Content:MirLua/Examples}}
Externe Links