generated from ElnuDev/rust-project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
639 B
27 lines
639 B
# Control testing
|
|
if True:
|
|
let x = "3"
|
|
"Bob will be here in [x] seconds."
|
|
let x = "2"
|
|
"Bob will be here in [x] seconds."
|
|
if True:
|
|
let x = "213"
|
|
let x = "1"
|
|
"Bob will be here in [x] seconds."
|
|
"Bob will be here in [x] seconds."
|
|
"Bob" "I will not say anything, [foo]"
|
|
define foo = "bar"
|
|
if False:
|
|
"Bob" "W-what? Why am I saying this?"
|
|
if True:
|
|
"Testing 123"
|
|
"..."
|
|
"Bob" "Good."
|
|
"Bob" "Now I will tell you my favorite food..."
|
|
if True:
|
|
"Bob" "...cereal!"
|
|
if False:
|
|
"Bob" "But I actually hate it."
|
|
define bar = "potato"
|
|
define foo = bar
|
|
"Bob sat on the bench." |