Ed, Yes that was what foxed me (pardon the pun!) for a while.... however after a few coding examples put in context to my own data I can now see massive possibilities in data processing. Thoroughly enjoying it all!
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Ed Leafe Sent: 28 July 2017 16:53 To: ProFox Mailing List profox@leafe.com Subject: Re: [NF] are you considering Python?
On Jul 28, 2017, at 9:06 AM, Dave Crozier DaveC@Flexipol.co.uk wrote:
Mind you Tuples really take a lot of understanding to get the most of them - and we thought that VFP collections were different!!!
When all you’ve had are arrays/lists, tuples can be odd. I think of them as a single piece of data that consists of more than one value, such as an x-y coordinate, or a GPS point of latitude, longitude, and elevation.
The thing that trips up most people is that a tuple is immutable, while a list is mutable. If you find yourself trying to modify a tuple, maybe you shouldn’t be using a tuple in the first place. The x-y value of a point never changes. If you have a different number in that tuple, it’s a different point!
-- Ed Leafe
_______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/4C037984-F72A-47FB-83AC-B22E54D4680C@... ** 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.