Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • F

      Switch-case statements
      Comments & Feedback • • Fuze4Fun

      4
      0
      Votes
      4
      Posts
      32
      Views

      F

      Hi, just realised something about my second example. I think the confusion is the 'else if' statement, which I should have written as elseif without the space. This makes all the difference! I'm currently developing a Windows app using an older basic-language called PowerBasic, and there is an elseif statement (without the space) and with this the code example I gave does not require the extra endif, but with the space then you are correct, the extra endif is needed. So just a good example of how careful we must be switching between different programming tools.

    • P

      How do I reset a timer
      Help • • platоm

      2
      0
      Votes
      2
      Posts
      40
      Views

      vinicity

      I think you need to use stopTimer() and create a new timer with setTimer() again.
      There is no resetTimer() command.