Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Problem with graphics routine

WSinc
New Contributor I
781 Views

This routine apparently does NOT do what it says.

It is supposed to wait until I do something with the mouse button before continuing execution (?)

Is that what "wait until left mouse event" implies?

The program starts looping endlessly when I put the mouse inside the console window.

It does not wait until I click the mouse button.

I tried the "wait until left mouse double click" and

got the same result.

I commented out stuff that is not relevant. see attachment.

0 Kudos
3 Replies
WSinc
New Contributor I
781 Views
I did some further investigations.- - - Apparaently the compiler does not recognize what these two things are: MOUSEL$BUTTONDOWN and MOUSEL$BUTTONDBLCLK I found this out by putting in IMPLICIT NONE,and it gives me compiler errors even when I said USE IFQWIN Isn't it suppose to assign values to these for the subroutine I am calling?
0 Kudos
IanH
Honored Contributor III
781 Views
You have the L and the $ transposed in the identifier - MOUSE$LBUTTONDOWN is what you want.
0 Kudos
WSinc
New Contributor I
781 Views
Yeah, I misspelled it. should have put IMPLICT NONE in there to start with. Mea Culpa ! ! !
0 Kudos
Reply