|
|
|
|
- Cause
- Correction
- Exemple
- L'instruction AUTRES CAS n'est pas la dernière instruction
Erreur 17 : AUTRES CAS doit être en dernier dans le SELON
Vous utilisez une instruction conditionnelle de type SELON ... CAS. L'instruction "AUTRES CAS" doit être le dernier CAS utilisé. Déplacez le bloc d'instructions commençant par "AUTRES CAS" à la fin de l'instruction conditionnelle SELON. L'instruction AUTRES CAS n'est pas la dernière instruction Code provoquant l'erreur SELON TypeProduit CAS "1"   Message("Produit alimentaire") AUTRES CAS   Message("Promotion exceptionnelle") CAS "2"   Message("Produit de nettoyage") FIN
Correction proposéeDéplacez le bloc d'instructions commençant par "AUTRES CAS" à la fin de l'instruction conditionnelle SELON.
SELON TypeProduit CAS "1" Â Â Message("Produit alimentaire") CAS "2" Â Â Message("Produit de nettoyage") AUTRES CAS Â Â Message("Promotion exceptionnelle") FIN
Documentation également disponible pour…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|