Hi,
I have defined my own variable in that style:
As I want to change them from outside I want to do something if the variable exist or not.
Code
if(get(hoteldata[hotel1].hname) != null ,additem(get(hoteldata[hotel1].hname), openurl(get(hoteldata[hotel1].hurl),_blank))
);
What I want to is to add that item if the variable exists. If it doenst exist I do not want to do that.
If I delete the variable the item is still added showing "null" even if I did a check that I do want to show it if it is not null.
Any ideas what I've done wrong?
Regards