Browse Subversion Repository
Contents of /old/lua.lua
Parent Directory
| Revision Log
Revision 50 -
( show annotations)
( download)
Wed Mar 26 23:50:43 2008 UTC
(16 years, 2 months ago)
by tabasa
File size: 275 byte(s)
lua dll test
| 1 |
function add(a, b) |
| 2 |
return a+b |
| 3 |
end |
| 4 |
|
| 5 |
function str(a, b) |
| 6 |
c="f" |
| 7 |
|
| 8 |
b=string.gsub(a,"V","%0%0") |
| 9 |
b=string.gsub(b,"ľ","%01%02%03") |
| 10 |
b=string.gsub(b,".ini",".ŰŻ") |
| 11 |
b=string.gsub(b,"[a-z]","!%0") |
| 12 |
return a .. ' ** ' .. b.._VERSION .. "/"..type(a).."/".._VERSION |
| 13 |
end |
| |