While loop
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
create bool *1 = false
|
||||
create var *5 = "Hello"
|
||||
if bool {
|
||||
set var = "BASM!"
|
||||
}
|
||||
create bool *1 = true
|
||||
create hello *5 = "Hello"
|
||||
create bool2 *1 = true
|
||||
while bool2 {
|
||||
set bool2 = false
|
||||
if bool {
|
||||
set bool2 = true
|
||||
}
|
||||
if bool2 {
|
||||
set bool = false
|
||||
print hello
|
||||
}
|
||||
}
|
||||
set bool2 = true
|
||||
Reference in New Issue
Block a user