|
-
Setting a Range Variable
I need to set a single variable to have more than one numeric values
like
i>=1 but i<=40
I know I can do this with
for (i=1; i<=40; i++){
}
but I want a better method than that
Thanks for the help
more info
What I am trying to do is create a root variable that can simultaneously equal a range of numbers. But I cant use the for command because the variable it will assign will only be confined to those brackets and can only be pulled from code inside the brackets
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|