@Rashad
also Happy New Year
sure, in the end it is HIS problem, if he wants to code fish or not...
but this also means he will come back in some weeks and ask for new solutions to new problems that result out of that fish.
additionally, I'm just curious what he meant with "going up when it becomes warmer, and going down when it gets colder"
for me that has nothing at all to do with a float loop.
@charvista
I'm just making PureBasic more complete and more powerful!
well, no. your adding some fish to a place where wasn't fish before.
there are REASONS why Modulo does not support floats and the For loop doesn't either.
you can search the bloody forums to find dozens of threads about it.
PS:
porting code from one language to another by translating 1:1 ...
trying to port, doing it is not even possible ... is a really useless idea.
PureBasic is a different language.
if you want to solve tasks, program solutions.
don't copy solutions from other languages, because then they are not longer solutions.
oh... and have a nice day.