SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why am I getting this missing parenthetical error?

    This seems really simple but for some reason I am getting a missing ) parenthetical error and I have no idea why:

    Code:
    ((this == this) && (this == this))
    Can someone tell me what the problem is?
    John Saunders

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can you post the code its pointing to? As this == this will always be true


  3. #3
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was using double decimals in a number and that was throwing it off. (strange that firebug was showing I was missing a parenthetical when the number really needed to be surrounded by quotes)
    John Saunders


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •