November 2, 2012 at 5:09 PM #1 i have this situationset(var1, 5);and then in action thisif (var1 != null, set(view.hlookat, var1));Problem is that in debugging mode tracing hlookat says that its NaN??? How can i make my var1 a number?regards
November 2, 2012 at 6:25 PM #2 Hi,by calling: Code set(view.hlookat, var1) you will set the 'view.hlookat' variable to the text 'var1', and because the view.hlookat variable is a Number variable the result will be NaN.To set to view.hlookat to the content of 'var1', either call: Code set(view.hlookat, get(var1)) or Code copy(view.hlookat, var1) Best regards,Klaus