The source to zdist had good input routined (uses the ones on the calc). If anyone still needs help, post again and i will write a routine up. Its only like 6 lines of code or so if you cut out all of the extra crap. Hopy this helps, CHICANE ICQ: #14727618 chicane on EFNET #ti Homepage: Under Construction.