Is there a proper function for transforming a character to a number instead of using i=match('c',letters) # 3 Thanks. Josef Eschgfäller -- Josef Eschgfäller Dipartimento Matematico Universita' di Ferrara http://felix.unife.it