To put something in the response you do say and then the value for example to say one simply do say 1.
There are 4 operators in bison basic:
Like in math times and divided by go first and then plus and minus so
1 + 1 * 2 would be
3
Plus
To do addition you use the + operator to do addition you could do one plus one like
this
1 + 1.
Minus
To do subtraction you use the - operator to do subtraction you could do two minus one
like this
2 - 1.
Times
To do multiplication you use the * operator to do multiplication you could do two
times two like this
2 * 2.
Divided By
To do division you use the / operator to do division you could do four divided by two
like this
4 / 2.
To do something repeatedly you can use something called a loop. A loop does some code repeatedly which is very
useful in programing. Here is how you do a loop in Bison Basic.
do:
say 0
:5 times
First you use
do: then you put the code you want to do repeatedly and finally you put
how many times you want to do it. For 5 times you do it like this
:5 times
Tip:
You can do a loop with index like this
index = 1
do:
say index
index += 1
:5 times