--
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
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
>
>
>
>
>
>
[excessive quoting removed by server]