Quantcast
Channel: Answers for "Why can't i set my integer to -1?"
Browsing all 4 articles
Browse latest View live

Answer by CHPedersen

It's unclear from the snippet you posted why you're having trouble setting `faktor` to something negative, but if the purpose is to iterate backwards instead of forwards, you can simply start out at...

View Article



Answer by biohazard

I solved the issue. Since i am adjusting the factor of speed in a TextField, i'm setting factor using int.Parse on the input of the textfield. For the rewind function, i simply invert the result,...

View Article

Answer by CHPedersen

It's unclear from the snippet you posted why you're having trouble setting `faktor` to something negative, but if the purpose is to iterate backwards instead of forwards, you can simply start out at...

View Article

Answer by biohazard

I solved the issue. Since i am adjusting the factor of speed in a TextField, i'm setting factor using int.Parse on the input of the textfield. For the rewind function, i simply invert the result,...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images