Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If you hardcode user names, you might be a crappy coder
Message
De
07/06/2021 04:29:33
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
06/06/2021 16:47:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01680936
Message ID:
01681028
Vues:
39
>>Shouldn't you have a scatter memvar here?
>
>I copied the code from Walter's post -- there was no SCATTER at that position.

He mentioned this somewhere upstream:
Lets say you have an application object "Applic" and you use outdated VFP commands like SCATTER MEMVAR in your biz_classes superclass to deal with the entities in your application. what do you think would happen if you dared to have a new field "Applic" in some of your tables and this SCATTER MEMVAR is executed ?

Bang... your application crashes on the SCATTER MEMVAR, leaving the three finger salute.


And then this example was supposed to show how bad it can get - well, he forgot the main ingredient :).

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
Répondre
Fil
Voir

Click here to load this message in the networking platform