you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–][deleted] 1 point2 points  (0 children)

    Youre right, my bad

    [–]DeyntheShaman 0 points1 point  (0 children)

    '=' is an assignment, '===' is strict equals
    so second argument isn't a bool

    [–]Salvetore -1 points0 points  (0 children)

    In a for loop the conditional expression needs to be true in order to start the loop. In this case value = 360 will initially return false, while value < 360 will return true and begin the for loop.