Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SUSPEND during runtime
Message
De
13/08/1997 10:42:50
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
 
 
À
13/08/1997 10:18:32
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00044430
Message ID:
00044442
Vues:
27
>>I'm working on an error handler and I need the option of "SUSPENDing" at the time of an error to check the environment, etc. After suspending, the user should be able to type in commands as per my instructions (as if from a command window) so I can check certain settings. How can I do this? "SET STEP ON" and "SUSPEND" don't work outside of the development environment.
>>
>>Thanks
>>Elyse
>
>I've seen this done before...but it's kind of a kludge...
>
>Have the error handler call a modal form that has a text box which is your 'command box' and a defined window within the form. Allow the user to type fp commands in the 'command box' and issue the command with macro substitution: i.e...
>lcCmd = myBox.Value
>&lcCmd
>
>Direct your output to your defined window.
>
>Be very careful with this, as a 'smart' user could really hose things up if you give too much control away.
>
>HTH
>
>Matt

There's a nice "Command Window Simulator" available here in the Files section (under Visual FoxPro in general).

Renato
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform