Yep, I agree here also. Having to mess up all that neat structured coding
with "if" statements just to take care of an array with nothing in it has
always been a pain in the a*se.

Dave


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Newton
Sent: 18 October 2007 09:12
To: [email protected]
Subject: Re: Filemaker Pro

Paul McNett wrote:
> Paul Newton wrote:
>
>   
>> How/why are 0-based arrays superior to 1-based arrays ?
>>     
>
>
> I guess what gets me about VFP arrays is that there isn't such a thing 
> as an empty one. When you initialize an array, it comes with a single 
> element, initialized to .F. So when you go to populate it, you have to 
> have special code to either not redimension it for the first element, or 
> to remove the bogus extra element after you are done populating.
Paul

Well I certainly agree with that !  Though as Ed clarified (thanks Ed) 
zero-based doesn't make empty arrays possible, per se.  But how I've 
wished for empty arrays !

Paul Newton


[excessive quoting removed by server]

_______________________________________________
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.

Reply via email to