1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| // Liste les services
lsServiceListe est chaîne
lsService est chaîne
llServiceInd est entier
sListeService est une chaîne
lsServiceListe = ServiceListe()
SI lsServiceListe <> "" ALORS
// Traite le résultat pour l'ajouter dans la table
llServiceInd = 1
BOUCLE
lsService = ExtraitChaîne(lsServiceListe, llServiceInd, RC)
SI lsService DANS ("", EOT) ALORS SORTIR
//Hyper File Server : Serveur-Zouzoukha<TAB>Hyper File Server : Serveur-Zouzoukha
SI ChaîneOccurrence(lsService,"Hyper File Server")>0 ALORS
gsDosServiceHF = ExtraitChaîne(lsService,1,TAB)
FIN
sListeService+=lsService+RC
llServiceInd++
FIN
SINON
Erreur(ErreurInfo(errComplet))
FIN
SI ChaîneOccurrence(sListeService,"Hyper File Server")>0 ALORS
//Hyper File Server - BINGO - on execute wdmodif
FIN |
Partager