On Saturday 15 December 2007 13:50:35 Ira wrote: > A perfect example is the new dial plan function array(), > it has nothing to do with arrays, doesn't accomplish anything useful > that couldn't have been done by allowing commas in set(), or calling > it setmany(), and means if real arrays ever get added to the language > we have to come up with new function names while the obvious one has > already been taken to mean something not related.
I'm curious to hear how you would have approached the problem of retrieving multiple columns out of a database and setting each column to its own variable. That is precisely what ARRAY() is designed to accomplish, and it CANNOT be done by letting Set have multiple key/value pairs. -- Tilghman _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
