Fix error in syntax.md
This commit is contained in:
@@ -25,7 +25,8 @@ Runs code if a boolean is true.
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
create *1 bool = true
|
create bool *1 = false
|
||||||
|
create var *5 = "Hello"
|
||||||
if bool {
|
if bool {
|
||||||
set var = "BASM!"
|
set var = "BASM!"
|
||||||
}
|
}
|
||||||
|
|||||||
1
test.bf
Normal file
1
test.bf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
>>>>>>>>>>>>[[>>]>>]++++>><<[[<<]<<]<<<<<<<<>>>>>>>>>>>>[[>>]>>]+++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++><<[[<<]<<]<<<<<<<<>>>>>>>>>>>>>[>+>+<<-]>[<+>-]>[-<<<[[<<]<<]+>>>>>>>]<<<<<<<[<<<<<<<<+>>>>>>>>-]<<<<<<<<[->>>>>>>>>>>>[>>]>>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]><<<<<<<<<<+++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++>+++++++++++++++++++++++++++++++++><<[[<<]<<]<<<<<<<<]
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
create bool *1 = true
|
create bool *1 = false
|
||||||
create string *1 = "A"
|
create var *5 = "Hello"
|
||||||
if bool {
|
if bool {
|
||||||
set string = "B"
|
set var = "BASM!"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user