Code : Tout sélectionner
Structure CONTACT1
id.s
nom.s
prenom.s
EndStructure
Structure CONTACT2
id.s{8}
nom.s{255}
prenom.s{255}
EndStructure
a.CONTACT1
b.CONTACT2
With a
\id = "GD"
\nom = "Dupond"
\prenom = "Guillaume"
EndWith
With b
\id = "LD"
\nom = "Durand"
\prenom = "Laurent"
EndWith
Debug "chaine normal, ok"
Debug a\id
Debug a\nom
Debug a\prenom
Debug "chaine fixe, debug n'affiche rien"
Debug b\id
Debug b\nom
Debug b\prenom
Debug "chaine fixe + chaine, ok"
Debug b\id + " "
Debug b\nom + " "
Debug b\prenom + " "