Results 1 to 7 of 7
  1. #1
    Chesh is offline Member
    Join Date
    Jan 2009
    Posts
    10
    Rep Power
    0

    Default [SOLVED] How can I carry out an if statement and then have it carry on with the rest?

    Basically what i want to do is execute an if statement if the answer to a question is yes.
    But what i want to happen to is after the if statement, for it to carry on with the rest of the script.
    But if the answer to the question is no, skip the if statement.

    If my explanation is good enough could anyone please offer their help
    Thank you D

  2. #2
    Chesh is offline Member
    Join Date
    Jan 2009
    Posts
    10
    Rep Power
    0

    Default

    My mistake, had missed a part of code which meant it wouldnt carry on

    NEVER MIND!

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  4. #4
    Chesh is offline Member
    Join Date
    Jan 2009
    Posts
    10
    Rep Power
    0

    Default

    sorry how do I mark it solved?

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    On top of the first post (actually your question) you can find a menu called Thread Tools. Click on it and see.

  6. #6
    Chesh is offline Member
    Join Date
    Jan 2009
    Posts
    10
    Rep Power
    0

    Default

    ok spanks :D

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. if statement help please!!
    By soc86 in forum New To Java
    Replies: 5
    Last Post: 12-02-2008, 02:56 PM
  2. If statement, please help??
    By soc86 in forum New To Java
    Replies: 5
    Last Post: 11-23-2008, 02:58 PM
  3. Sonatype GWT REST 1.0-SNAPSHOT
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 03-29-2008, 12:54 PM
  4. Statement or Prepared Statement ?
    By paty in forum JDBC
    Replies: 3
    Last Post: 08-01-2007, 04:45 PM
  5. If Statement
    By aDrizzle in forum New To Java
    Replies: 4
    Last Post: 07-08-2007, 08: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
  •