Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2010
    Posts
    14
    Rep Power
    0

    Default Help with three errors -.-

    So I am making this runescape private server (yes, I know), and I am trying to make the Slayer Skill as close as possible to it. It looks good, but I am getting three errors on the switch statement.

    Removed everything. Thanks for peoples help.
    Last edited by Insomniac Riot; 03-31-2010 at 02:47 PM.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,009
    Rep Power
    20

    Default

    Your switch statement is in a method, or an executable block...
    That's why it's complaining.
    Have you miscounted brackets somewhere?

  3. #3
    Join Date
    Mar 2010
    Posts
    14
    Rep Power
    0

    Default

    I might have. Ill check. Thanks for your reply.

  4. #4
    karno is offline Member
    Join Date
    Mar 2010
    Posts
    16
    Rep Power
    0

    Default

    I think you should place switch statement in one method....

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,009
    Rep Power
    20

    Default

    Oops...nice typo by me there!
    I meant "isn't in a method or executable block"!
    :)

  6. #6
    Join Date
    Mar 2010
    Posts
    14
    Rep Power
    0

    Default

    I have solved the problem, I forgot the main method. Please lock or put as "solved". Thank you Tolls and Karno.

Similar Threads

  1. errors
    By ravikumar in forum Threads and Synchronization
    Replies: 3
    Last Post: 09-29-2009, 04:15 AM
  2. getting errors
    By ravikumar in forum Threads and Synchronization
    Replies: 3
    Last Post: 08-23-2009, 02:50 PM
  3. Errors,errors and errors
    By xpatiencex in forum New To Java
    Replies: 6
    Last Post: 04-25-2009, 04:43 AM
  4. Replies: 3
    Last Post: 03-08-2009, 01:51 AM
  5. help with these errors
    By oceansdepth in forum New To Java
    Replies: 3
    Last Post: 04-16-2008, 04:55 PM

Posting Permissions

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