Input Problem - Doing Something Wrong?

BlitzMax Forums/BlitzMax Programming/Input Problem - Doing Something Wrong?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I can't figure out why this won't get the current state of the mouse buttons (specifically, whether they're down or not [storing them so I don't have to repeatedly call MouseDown( .. )]), as far as I can see this should be valid and work, but it's just not. All I get is an array with three zeros.

	Type TInfinitus
		Field PMouseDown[]
		Field CMouseDown[]
		
		....
		
		Method Update( )
			PMouseDown = CMouseDown
			CMouseDown = [MouseDown( 1 ), MouseDown( 2 ), MouseDown( 3 )]
			
			....
		End Method
	End Type


Is there something inherently wrong with this that I'm not seeing through my tired eyes?

Thanks in advance.