> Ever see a language smart enough (or a way of writing a macro) that inlines > the macro if it is called only once and defines a subroutine then calls it > if it is used twice or more? I've been looking for that one for a while. > Forgotten exactly what it was, but I remember reading that some C compiler I was using at some point did this. Indeed, there was a pragma for optimize for memory vs optimize for speed. -- Anniepoo Need loco motors? http://www.idiom.com/~anniepoo/depot/motors.html