Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best practices using ExecScript()
Message
De
17/03/2006 16:44:17
 
 
À
17/03/2006 14:08:58
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01105393
Message ID:
01105442
Vues:
17
Hi Spencer!

Like Dragan suggested.

As you don't have all the environment at hand within Execscript code, you should use some globally known object like goApplication or one of it's members. May it be a form handler, may it be something else. That works.

Keep the execscript part short. You have less possibilities of debugging. For example COVERAGE will log lines of the execscript code as being part of the FXP file execscript generates and executes, which is totally correct and true. But if afterwards you read in the log with the Coverage Profiler, it does not find these FXP files, as they are temp files.

Bye, Olaf.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform