# Simple \[Y/N\] variable question

**URL:** <https://forum.kirupa.com/t/simple-y-n-variable-question/241298>\
**Category:** programming\
**Created:** [October 11, 2007, 10:28pm UTC](https://forum.kirupa.com/t/simple-y-n-variable-question/241298 "2007-10-11T22:28:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpxnamja](https://avatars.discourse-cdn.com/v4/letter/k/7c8e57/32.png) [@kpxnamja](https://forum.kirupa.com/u/kpxnamja)\
**Post date:** [October 11, 2007, 10:28pm UTC](https://forum.kirupa.com/t/simple-y-n-variable-question/241298/1 "2007-10-11T22:28:45Z")

</div>

Ok, I know this is utterly stupid, but I was wondering,

Is there a wild card variable?  
For instance, If I wanted to calculate the hitTest for my 15th bullet, instead of making the for loop, is there a wild variable that can act as an anything variable?

teamb[“enemy”+i] to a teamb[“enemy”+\*] //where the hitTest will respond to any number where the \* is w/o going to a for loop?

I thought this was possible since there’s that whole import java.util.\*; command // I know this isn’t java.

I just need a yes/no. Or if this was a really stupid question - “You idiot, (yes/no).”
