wijnendael
Member
If i have a variable that stores a value and i want to increase or decrease that value between say a min of 1 and max of 5 how do i code it, i have tried like this but have syntax errors.
Code:
let bo = bo + 1
if bo >5 then let bo = 5
let bo = bo - 1
if bo < 1 then bo = 1