Sort of like an immutable collection of objects or primitive types then? -- Alan Bourke alanpbourke (at) fastmail (dot) fm
On Fri, 28 Jul 2017, at 04:53 PM, Ed Leafe wrote: > On Jul 28, 2017, at 9:06 AM, Dave Crozier <[email protected]> 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 > > > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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/1501333808.3346446.1056505040.66eed...@webmail.messagingengine.com ** 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.

