If statement with two conditions?
wickle
Posts: 6
Currently using an if statement but it would greatly help the stability of my program if i had two conditions in the if statement. Using stamp how do i add two conditions in one if statement?
Comments
Main:
' Change AND to OR and see what happens
IF (value1 = 5) AND (value2 = 10) THEN Is_True
DEBUG "Statement was false."
END
There are other possibilities with the IF....THEN......ELSE structure and with the SELECT....CASE structure. They all have examples in the Help file.
Cheers,