Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods code in .scx form have been exchanged
Message
De
04/10/2022 03:24:06
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
03/10/2022 19:48:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01685019
Message ID:
01685023
Vues:
53
>Hi, I have one serious problem on one of my forms. I've been coding and testing for several hours one form that I need to be finished by tomorrow morning. When I was testing (running the app), all of a sudden, I got an error that said something like "program stack insufficient", which I've never had before. Then, when I checked the code, I saw, to my big surprise, that almost every form 's method had the code exchanged! The form itself has over 2 dozen methods. Besides that, the form has many controls and those also have code in methods. I haven't checked whether those method have been exchanged too. So this is a big problem and I can only get a backup from three days ago, but today I did many, many changes, so that backup won't help me.
>
>Does anyone have the same problem? Is there a simple solution instead of trying to put the code on its place by hand and trying not to get wrong?

I did see similar things in the past, so a few trick to try:
- backup first, make a copy, use the copy for testing
- try compile form on the copy, see if it helps
- check for unmatched text-endtext anywhere in the methods. Once there's a missing endtext, Fox can't find the Endproc statement (that you don't really see in the editor, but it's there in each method, look in the memos) and gets completely confused, thinking all the rest of the code in that object is still part of the Text command.
- what Victor said

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform