Single Line IF

Hey All,

With the single line form of IF statements, can you have an ELSE on the end of the line or must you have to change the structure to multi-line?

see examples:

Single Line -

if OptionsChoice does not contain _2_ then set Check_2_ to false

Multi Line -

if OptionsChoice does not contain _2_ then
	set Check_2_ to false
else
	set Check_2_ to true
end if

Hello

No need to if/then/else to do that in a single line

set Check_2_ to (OptionsChoice contains _2_)

Yvan KOENIG (from FRANCE jeudi 4 janvier 2007 07:22:27)

Merci,

You have saveds me lots of lines of code!!!

Jason