1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Can't I use negative number in for?

Discussion in 'Facepalm' started by Hoyee, Feb 28, 2020.

  1. Hoyee

    Hoyee Baby Zombie

    Messages:
    126
    for ($i = -1; $i <= -2; $i=$i-0.2) {

    like this.
     
  2. DaRealPandaz

    DaRealPandaz Silverfish

    Messages:
    24
    GitHub:
    mrpandaz
    I know this isn’t a solution, but what are you trying to achieve here?
     
  3. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    jasonwynn10 and HimbeersaftLP like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.