Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DATAENVIRONMENT~
Message
 
À
27/12/1999 17:30:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00308730
Message ID:
00309061
Vues:
40
>I know what you mean. My grid class has some code that should actually cause an infinite loop, but doesn't. The AfterRowColChange method does a THIS.Refresh, and THIS.Refresh calls AfterRowCall change. I had to have all of these in there to make the grid display like it should, and it BTSOOM why it doesn't crash with an infinite loop. Watching it in the debugger, you can see it go through everything twice, and then it just jumps out.

Erik,

This occurs because VFP does not support reentrancy, it does support recursion. So when your reentrant call occurs VFP sets some kind of internal flag and won't do it anymore.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform