Leo_Polla_Psemata
Registered User.
- Local time
- Today, 14:39
- Joined
- Mar 24, 2014
- Messages
- 364
Hi
I use this beat of code and returns the results i wish.
I would like to add the "and" and make the code as below but the syntax is not correct
Do you know what syntax should i use ?
I use this beat of code and returns the results i wish.
Code:
If country - "China" then
msgbox = "something"
elseif country = " Japan" then
msgbox = "something else"
else
msgbox = "something more"
Endif
I would like to add the "and" and make the code as below but the syntax is not correct
Do you know what syntax should i use ?
Code:
If country = "China" And region = "north" then
msgbox = "something"
elseif country = "China" And region = "South" then
msgbox = "something different"
elseif country = "Japan" And region is "east" then
msgbox = "something else"
elseif country = "Japan" And region is "west" then
msgbox = "something more"
else
msgbox = "more"
Endif