Public Group

#### Archived

This topic is now archived and is closed to further replies.

# symbolization

This topic is 5834 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

how do i make something symbolize like 1 through 90 i cant us 1 -> 90? or 1-90. so what can i do?

##### Share on other sites
quote:
so what can i do?

##### Share on other sites
for example

int a = all numbers 1 through 90

##### Share on other sites
use a for loop:

  for(int i = 0;i <= 90; i++)

##### Share on other sites
I think he means an abstract number.
Where x=1 would be True, as would x=90 and everything in between.

-[Image Sig removed by Run pending staff/mod consultation]
-ryan@lecherousjester.com

##### Share on other sites
>>I think he means an abstract number.
Where x=1 would be True, as would x=90 and everything in between.

EXACTLY !!!

##### Share on other sites
You would need a class and some overloaded operators, I think. Try to find a way around it for now.

If you really need an int to be several different numbers at once, you could try building a quantum computer.

##### Share on other sites

  if (x>0 && x<91){// do your stuff}

Is this what you look for??
What language do you use??

c++ and no

##### Share on other sites
this is what i need but wont work

int y2;
y2>0 && y2<91;

1. 1
2. 2
Rutin
16
3. 3
4. 4
5. 5

• 11
• 26
• 10
• 11
• 9
• ### Forum Statistics

• Total Topics
633721
• Total Posts
3013532
×