correction = nelson.lang.correction.AppendArgumentsCorrection(arguments)
| Paramètre | Description |
|---|---|
| arguments | arguments suggeres, specifies sous forme de chaine, vecteur de caracteres ou tableau cellulaire de vecteurs de caracteres. |
| Paramètre | Description |
|---|---|
| correction | un objet nelson.lang.correction.AppendArgumentsCorrection. |
Utilisez les objets nelson.lang.correction.AppendArgumentsCorrection dans les fonctions qui levent un objet MException.
correction = nelson.lang.correction.AppendArgumentsCorrection(arguments) cree une correction qui suggere d'ajouter les arguments d'entree arguments a l'appel de fonction qui a leve l'objet MException.
La propriete en lecture seule Arguments contient les arguments suggeres.
ME = MException('nelson:notEnoughInputs', 'Not enough input arguments.');
correction = nelson.lang.correction.AppendArgumentsCorrection('"world"');
ME = addCorrection(ME, correction)
ME.Correction.Arguments
| Version | Description |
|---|---|
| 2.0.0 | version initiale |