Assigning Intervals

Hi, I'm new here
I'm also italian, soooo...sorry if I make some grammar mistakes.
So, Can I assign a variable to an interval?
For example: max=max<=31 or something like that?
Thanks and Sorry, I'm a newbie :(
Yes.
No, max<=31 will give a bool answer, you cant just assign that back to max because max is an int of some kind.


what do you mean by "interval"?

can you explain what you are trying to do in English? Or do you have some code that you want to fix, if so post a snippet here.
Topic archived. No new replies allowed.