If variable's values are the same?

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
This is a simple query, but having a difficult time using forum's search feature.:rolleyes:

In Logic IF, I need to compare the value of two variables and see if values are the same (positive exit if both values are the same). How do I compare these?

Thanks.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113
'variable1'=='variable2' if variable is string
variable1==variable2 if variable is numbers
 
  • Спасибо
Реакции: shabbysquire

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Make sure to perform Word processing - Prepare Javascript before comparing two strings if they have special characters in them.
 

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28

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