Ed OK, thanks. I have sometimes (often) thought that it would be useful (in VFP) if arrays could be 1-based but be capable of having 0 rows/elements.
To me it is intuitive that the first element/row should have index 1, but I sometimes want to remove all the rows/elements from the array and end up with an "empty array" Paul Newton Ed Leafe wrote: > On Oct 17, 2007, at 4:59 PM, Paul Newton wrote: > > >> What is wrong with 1-based arrays OR, to put it another way >> >> How/why are 0-based arrays superior to 1-based arrays ? >> > > They aren't. It's just that when you're used to one way of thinking, > switching to another is a pain. > > What *is* superior is Python's choice of lists, tuples and > dictionaries for handling data. They are fast and extremely powerful. > In fact, the Dabo data set is based on these, and is as fast and > versatile as a VFP cursor _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

