John Temples wrote: >>> Function pointers ... >> >> They kind of work (with HiTech compilers PICC/PICC18), but they are limited >> in their functionality. AFAIK, no two pointers may refer to functions with >> the same "signature". > > In general that's not true; you only get in trouble if you use the > pointers in such a way that the linker can't tell if you're trying to > be recursive or not (function pointers calling functions that call > through function pointers). I've never run across that limitation in > real-world usage of using multiple pointers pointing at functions with > not just the same signature, but the same type. Last time I used them I ran exactly into that: the compiler was thinking "uh-oh recursive" when there was nothing recursive. Since it is not (to my knowledge) documented what the conditions are under which they work and under which not, I thought that I'd better do it without them. I don't like having to "experiment" with a compiler to find out what structures work... Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist