Ord retourne aussi l'entier correspondant a un element d'un enum. Par exemple
Ord(psSolid)