In article <hhv255$gi...@speranza.aioe.org>, r0g <aioe....@technicalbloke.com> wrote:
> No, but that's why I try not to use languages where you can only return > a single result, I always found that an arbitrary and annoying > constraint to have. I leads to ugly practices like "magic" return values > in C or explicitly packing things into hashtables like PHP, yuk! Python only lets you return a single result, just like C or C++. The difference is that in Python it's trivial to build tuples on the fly and return them. About the closest you get to that in C++ is std::pair, and that's about 5 bucks short and a week late. -- http://mail.python.org/mailman/listinfo/python-list