• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCFArray -- What the heck?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCFArray -- What the heck?


  • Subject: Re: NSCFArray -- What the heck?
  • From: Marc Weil <email@hidden>
  • Date: Mon, 19 Jan 2004 11:49:32 -0500

Well, arrays start at zero and go up to their bound minus 1. So this array here has three elements: 0, 1, and 2. Your program tried to access element 3, which is beyond the bounds of the array.

This isn't specific to NSCFArrays, but is standard throughout all arrays in all languages (at least mainstream languages).

- Marc Weil


On Jan 19, 2004, at 11:30 AM, Michael Becker wrote:

Hi!

Can anybody explain to me what THIS is about:

2004-01-19 17:29:33.001 client[2606] *** -[NSCFArray objectAtIndex:]: index (3) beyond bounds (3)

??

Bye,
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSCFArray -- What the heck? (From: Michael Becker <email@hidden>)

  • Prev by Date: Panther broke CFUserNotificationDisplayNotice?
  • Next by Date: Re: NSCFArray -- What the heck?
  • Previous by thread: NSCFArray -- What the heck?
  • Next by thread: Re: NSCFArray -- What the heck?
  • Index(es):
    • Date
    • Thread