Two Variables in One If

mactron

Пользователь
Регистрация
16.11.2014
Сообщения
93
Благодарностей
2
Баллы
8
Hello,

How to put two variables in one if with the same rule..

Something like that...

'{-Variable.Variable1-} + {-Variable.Variable2-}' != ''
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
  • Спасибо
Реакции: Sonimnx и mactron

mactron

Пользователь
Регистрация
16.11.2014
Сообщения
93
Благодарностей
2
Баллы
8
Thank you Tobbe..
 

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
786
Баллы
113
becuse a + b should be empty string the right logic operation for var a+b !="" should be
a==b && a!=""
or
a==b && b!=""
or
a!="" && b!=""
or
!(a=="" && b=="")
 

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