Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Clear Events is ignored?
Message
 
 
À
17/09/2004 11:14:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00943400
Message ID:
00943418
Vues:
13
Steve,

You are probably right. But what I was trying to simulate is how my program reacts to an error. First I put just a buggy code (undeclared variable) in the middle of the loop. The error manager would get it and issue Clear Events but it was not working. So I am trying to see how to deal with errors generated inside a loop.

>Dmitry,
>
>You're putting it right in the middle of the loop? Without doing anything to exit the loop? The procedure will continue to run, because it has nothing to do with the event loop.
>
>>I am trying to figure out why my application (.EXE) is ignoring Clear Events statement in one form. Basically I have a modal form that has a code in a button click() method: a loop of processing the some data. I put a line:
>>
>>
Clear Events
>>
>>in the middle of the procedure but the program at run time simply ignores it. Any other place Clear Events would make the program go to the first line after Read Events, as it supposed to.
>>
>>Any idea or suggestions?
>>
>>Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform