Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mdot question
Message
De
06/04/2021 03:26:32
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
06/04/2021 03:08:09
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01679493
Message ID:
01679571
Vues:
40
>>>>>
>>>>>SELECT alias
>>>>>SCAN
>>>>>
>>>>>is helpless, if workarea is changed in between.
>>>>> ¯\_(ツ)_/¯
>>>>
>>>>The last sentence is wrong, Scan will take care of changing the work area back to the correct one.
>>>
>>>ENDSCAN will. Altered between SELECT xxx and SCAN, SCAN knows nothing about the area selected.
>>
>>OK, I chose my words badly. If you really want to screw up you code, I think almost every command can be used. :-)
>
>It was only to show that for some stuff there is no way out. There is no help in aliasing or IN. But it is very, very rare. I know about it - but never run into it. And not all code is as clean as it should be.

Or to say it the other way around.

For code that is long running in an environment prone to that, it might be better to create something to stop (timer) events, block access to UI and so on then fiddling with half solutions like REPLACE IN alias. Or just let it run in a DE that will not be harmed by events.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform