generated from ElnuDev/rust-project
Implement local variable assignment
This commit is contained in:
parent
149842c121
commit
01173d2f7d
4 changed files with 32 additions and 4 deletions
|
@ -2,11 +2,12 @@
|
|||
if True:
|
||||
let x = "3"
|
||||
"Bob will be here in [x] seconds."
|
||||
let x = "2"
|
||||
x = "2"
|
||||
"Bob will be here in [x] seconds."
|
||||
if True:
|
||||
let x = "213"
|
||||
let x = "1"
|
||||
x = "1"
|
||||
let x = "4"
|
||||
"[x]"
|
||||
"Bob will be here in [x] seconds."
|
||||
"Bob will be here in [x] seconds."
|
||||
"Bob" "I will not say anything, [foo]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue