Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in main
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00600045
Message ID:
00600048
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
You can specify more parameters (up to 27) for your program and than use PCOUNT() function to check.

>Hi
>
>I'm trying to control errors in my exe, but the error is with parameters, before on error command
>*-- MAIN
>parameters tPar1,tPar2, <b>tPar3, ..., tPar27</b>
>
>on error ...
IF PCOUNT() > 2
   * Too many parameters ...
   * do something
ENDIF
>calling the exe produce an error
>
>myexe.exe val1 val2 val3
>
>How can I handle multiple parameters, and this error?
>
>
>TIA
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform