Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cool idea for SET commands
Message
De
27/07/2004 10:16:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00928029
Message ID:
00928288
Vues:
41
>Guess I'm behind the times, huh?
>
>What would you suggest besides macro sub?

My answer to that was to check if the saved setting was the opposite of what it was forced to be. If so, restore it to such explicitly.
m.lcSafety = set("safety")
SET SAFETY OFF
* Some Code here
IF m.lcSafety = "ON"
   SET SAFETY ON
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform