Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mdot question
Message
De
06/04/2021 02:59:55
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
06/04/2021 02:57:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01679493
Message ID:
01679567
Vues:
38
>>>>You cannot guarantee that a timer won't switch the alias on you.
>>>
>>>Well written timer action code can handle this. But really asynch behavior like keyboard interrupts or asynch return from old style OLE-Linking and embedding can still throw wrenches in such code ;-)
>>
>>There is stuff that is unable to survive badly written asynched events.
>>A
>>
>>REPLACE;
>> Alias.Field WITH VALUE;
>> FOR condition;
>> IN Alias
>>
>>Will die silently, if async code sets the current workarea to something different then alias, but on EOF, as far as I remember.
>>
>>
>>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.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform