Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Structure conditionnelle imbriquée

  • Last UpdatedSep 24, 2024
  • 1 minute read

Le script suivant montre comment vérifier plusieurs conditions avec une seule section ELSE générale, exécutée si aucune condition n'est vérifiée.

IF ChoiceTag == 1 THEN

Show "Procédure 1";

ELSE

IF ChoiceTag == 2 THEN

Show "Procédure 2";

ELSE

IF ChoiceTag == 3 THEN

Show "Procédure 3";

ELSE

Show "Procédure par défaut";

ENDIF ;

ENDIF ;

ENDIF ;