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
d0f681dc
Unverified
Commit
d0f681dc
authored
Feb 28, 2019
by
Vinicius Jarina
Committed by
GitHub
Feb 28, 2019
Browse files
Update README.md
parent
16e2b484
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
d0f681dc
...
@@ -102,7 +102,7 @@ Passing raw values to the state:
...
@@ -102,7 +102,7 @@ Passing raw values to the state:
```
csharp
```
csharp
double
val
=
12.0
;
double
val
=
12.0
;
state
[
"x"
]
=
val
;
// Create a global value 'x'
state
[
"x"
]
=
val
;
// Create a global value 'x'
var
res
=
state
.
DoString
(
"return 10 + x*(5 + 2)"
)[
0
]
as
double
;
var
res
=
(
double
)
state
.
DoString
(
"return 10 + x*(5 + 2)"
)[
0
];
```
```
...
...
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