Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
9c74a746
"packages/KeraLua.1.0.26/lib/xamarinios/KeraLua.xml" did not exist on "75de25cd1ce6d1f6a4d429eb19c8e72082848925"
Commit
9c74a746
authored
Mar 10, 2013
by
Vinicius Jarina
Browse files
Update README.md
parent
d0e3bbdf
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
9c74a746
NLua
====
[

]()
NLua is a fork of project LuaInterface (from Fábio Mascarenhas/Craig Presti).
...
...
@@ -13,14 +14,22 @@ OSX : [](
iOS:
[

](http://jenkins-nlua.sytes.net:8080/job/NLua_iOS/)
```
csharp
using
(
Lua
lua
=
new
Lua
())
{
object
[]
res
=
lua
.
DoString
(
"a=2\nreturn a,3"
);
Console
.
WriteLine
(
"a="
+
res
[
0
]+
", b="
+
res
[
1
]);
}
```
```
csharp
```
csharp
using
(
Lua
lua
=
new
Lua
())
{
object
[]
res
=
lua
.
DoString
(
"a=2\nreturn a,3"
);
//Console.WriteLine("a="+res[0]+", b="+res[1]);
Assert
.
AreEqual
(
res
[
0
],
2d
);
Assert
.
AreEqual
(
res
[
1
],
3d
);
Console
.
WriteLine
(
"a="
+
res
[
0
]+
", b="
+
res
[
1
]);
}
```
LuaInterface 2.0.4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment