Home   Help Search Login Register  

Author Topic: Why in the heck doesn't CountType seem to work?!  (Read 908 times)

0 Members and 1 Guest are viewing this topic.

Offline KaRRiLLioN

  • Members
  • *
  • Grits -n- Peanut Butter are a wonderful thing
    • OFP RTS-3 Real Time War
Why in the heck doesn't CountType seem to work?!
« on: 26 Oct 2002, 22:18:27 »
Can anyone tell me why this is not working?

_magazines = Magazines Player

_magazineNumber = "M16" CountType _magazines

I've also tried this:

_magazines = Magazines Player
_magazineNumber = (("M16" CountType _magazines)==1)

Is it because the information is already in string format within the array rather than a bool format?

It's driving me freaking nuts.  If CountType doesn't work, then I guess the only thing to do is just strip apart the array and count em one by one.