IFex in Visual Neo Web - Forum

Forum Navigation
You need to log in to create posts and topics.

IFex in Visual Neo Web

This code is from the help file in Visual New Web

IfEx [city] == "Madrid" or [city]=="Chicago"

If you use it (or similar example) you get an error at testing. Is this correct and possible with Visual Neo Web?

 

 

@jason-roberts this works for me:

SetVar [city] "Madrid"
IfEx [city] == "Madrid" or [city] == "Chicago"
  jsAlert "True"
Else
  jsAlert "False"
EndIf

Regards.

This also works:

IfEx [city] == "Madrid" || [city] == "Chicago"

Regards.

Thank you. The error was the missing endif as I had commented it out by accident while testing the script block in error. I missed it. Sorry for the question and any wasted time ;-)