I agree, you can't change ~ to !, but you could make Lua accept both. This is the first thing I do when I install a new version of Lua. (And, no, I don't call the modified language Lua.) Regards, Alan -- Dr Alan Watson Instituto de Astronomía UNAM