facebook

[Closed] 5.1.0GA JavaScript validation and < comparator

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #266047 Reply

    chigbl
    Member

    MyEclipse 5.0.1GA Stand-Alone, Windows XP Pro

    The JavaScript < comparator gives the following error:

    Expected ‘<‘ and instead saw ‘<‘

    or sometimes:

    Expected ‘&&;lt;’ and instead saw ‘<‘

        if ( intMonth < 0 || intMonth > 13 ) {
            err = 6;
            return err;
        }
        
      if (intDay > 31 || intDay < 0 ) {
          err = 7;
          return err;
        }

    The warning appears only for at the first < occurence. It will move down if I delete the first if section.

    #266103 Reply

    Greg
    Member

    The latest update of our JavaScript editor in 5.5M1 no longer has this problem. I’m not sure it would be worth upgrading to this version just for this issue but just wanted to let you know.

    #266285 Reply

    chigbl
    Member

    Ok, thanks. I will live with it for now.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] 5.1.0GA JavaScript validation and < comparator

You must be logged in to post in the forum log in