Results 1 to 2 of 2

Thread: Syntax Error

  1. #1
    Guest
    I'm a newbie at VB and I'm stumped.

    I don't understand why I get a syntax error for this line of code:

    Celcius = Int(FTemp + 40) * 5 / 9 + 40)


  2. #2
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    You are forgetting a parentheses...

    Celcius = Int((FTemp + 40) * 5 / 9 + 40)
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

Posting Permissions

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



Click Here to Expand Forum to Full Width