Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Check this Wiki for the easiest method: https://www.fsdeveloper.com/wiki/index.php?title=XML:_Increment_Variable_w/Modulo_Resetthanks Tom!
but i wass wrong, sorry, from 0 to 100 and then 0, to 100 again. and again and again
(L:LVAR, enum) ++ 101 % (>L:LVAR, enum)

No surprise here! It is a remarkably simple technique using the modulo (%) function to implement a simple counter with reset.works great!
ty






i said bool not pool, btw you reminded me that i need to swimI always avoid public bools. Have you seen some of the people who swim there??
And the kids. Running around, screaming, you can't hear yourself think. Like on airplanes...
Sorry, I couldn't resist.
Back to the original thread...
Pat☺

Good to see some people are thinking "binary" …..LoLYou're all wrong. 1 + 1 = 10. Get it right!!!

exactellyYou're all wrong. 1 + 1 = 10. Get it right!!!