Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop never stops
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00967910
Message ID:
00967913
Vues:
18
Hi Hugo
actually there is no other loop inside this do while loop but this loop inside another loop.
i just put a wait window before enddo on llcancel but llcancel never getting .T. that means program not taking my key board input no matter how many times i press ESC or INS.

DO WHILE .T.
* allow ESC or insert (for dev) to cancel seach
lnKey = INKEY()
IF lnKey = 27 OR (gldevelop AND lnkey = 22)
llCancel = .T.
EXIT
ENDIF
---code here
**** more code here
WAIT WINDOW NOWAIT "llcancel value is "+TRANSFORM(llCancel) && new code
IF llCancel
EXIT
ENDIF
ENDDO
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform