- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcas:
- Intel® Fortran Compiler
Link copiado
3 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
You have the L and the $ transposed in the identifier - MOUSE$LBUTTONDOWN is what you want.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Yeah, I misspelled it.
should have put IMPLICT NONE in there to start with.
Mea Culpa ! ! !
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora