9 Replies Latest reply on Jun 15, 2006 4:20 PM by Newsgroup_User

    How to check if a Number is null

    EXFGHT%
      I am getting this type of error when compiling

      Error: Comparison between a value with static type Number and a possibly unrelated type Null.
      if(pos==null)pos=0;

      So how should I check whether a Number var is null?
      Rob