Some allow selection of things that don't have length at all, and either just pass them by in processing, or report on their invalidity. They derive the length of different kinds of objects by different kinds of calculations, or in some cases using an AREA command on them so they can extract the length from the PERIMETER System Variable. I notice that TLEN and some of the routines in the link in my first Reply go to more trouble than necessary.