Why doesn't this work?

BlitzMax Forums/BlitzMax Programming/Why doesn't this work?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

The following works:

Select m_kClickState
Case kSelected | kClicked 
DrawImage(m_pTClickedImage, m_iX + m_dOffsetX, m_iY + m_dOffsetY) 


The following does NOT work:

Select m_kClickState
Case kSelected | kClicked | kActive
DrawImage(m_pTClickedImage, m_iX + m_dOffsetX, m_iY + m_dOffsetY) 


Isn't the | just an or operator?

Thanks