Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Incrementing variables

    General Discussion
    2
    2
    172
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pianofire
      pianofire Fuze Team last edited by pianofire

      Saw this on Twitter:

      Instead of using i+=1 to increment variables you can do i-=-1 which looks way cooler*

      * please don't do this

      1 Reply Last reply Reply Quote 1
      • R
        rdurbin F last edited by

        I just do step # on fuze on for loops (like you would in basic). I do use += to increment variables outside of for loops.

        Ex: score+=150 rather than score=score+150

        Now if we are taking c++ ill just stick to i++

        1 Reply Last reply Reply Quote 1
        • First post
          Last post