At 12:29 AM 6/24/2003 +0200, Igor Pokorny wrote: >Hello David.... >such attempt to programming is very new for me... I browsed a lot of sites about the generic programming. Frankly saying I am glad I am too old not to see how programs will tried to exchange humans logic thinking by a random generic solutions. The idea is interesting but the goal stinks a bit... I think the point is that the machine will try things that you woudn't and come up with a more compact function to accomplish the same goal.. Like the bit rotation problem. D0-D7, D1-D6 and so on. For more complex problems, it gets tougher to define the goals, so it probably doesn't work so well. I have a little language interpreter I built for the AVR, with the intention of trying this out in a little robot. Let it modify it's own collision avoidance code, since that is pretty easy to detect failures on. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.