"Logical if" branch

pete

Client
Регистрация
11.07.2012
Сообщения
47
Благодарностей
2
Баллы
0
Hi guys!

just a quickie one...

Statement:

Код:
('{-Variable.Variable1-}' != '' || '{-Variable.Variable2-} != '')
seems not working in a "Logical if" branch. is there any way to check more than one condition in that branch?

thanks

cheers
pete
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
  • Спасибо
Реакции: pete

pete

Client
Регистрация
11.07.2012
Сообщения
47
Благодарностей
2
Баллы
0
hi drvosjeca!

you sent incorrect link ;-). You might wanted to send this one: http://www.youtube.com/watch?v=TdCJuRr8zXI :-)

Anyway, I watched the video. I have slightly different case here. I have few variables and want in one statement check if at least one of them is blank. If it is, then the statement returns true.

I would create few logical if branches but looking for some more elegant way.

Any ideas?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
I would use switch :rolleyes:
 

johnblidas

Client
Регистрация
01.09.2011
Сообщения
12
Благодарностей
0
Баллы
1
I suppose there is a ' missing after {-Variable.Variable2-}

Hi guys!

just a quickie one...

Statement:

Код:
('{-Variable.Variable1-}' != '' || '{-Variable.Variable2-} != '')
seems not working in a "Logical if" branch. is there any way to check more than one condition in that branch?

thanks

cheers
pete
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)