Thread
:
Multiple Thens
View Single Post
Feb 14th, 2006, 12:51 PM
#
5
Kaja Fumei
Hobbyist Programmer
Join Date: Oct 2005
Posts: 134
Rep Power:
3
Instead of "AND", you can use a semicolon (:) to seperate statements on the same line of a single line IF-THEN statement (didn't know that until a minute ago). Example:
(
Toggle Plain Text
)
If Combo.Text = 1 Then statement1: statement2
If Combo.Text = 1 Then statement1: statement2
Kaja Fumei
View Public Profile
Visit Kaja Fumei's homepage!
Find More Posts by Kaja Fumei