• 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: 3 obj-c/cocoa beginner q's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3 obj-c/cocoa beginner q's


  • Subject: Re: 3 obj-c/cocoa beginner q's
  • From: Steve Bird <email@hidden>
  • Date: Tue, 25 Mar 2003 09:46:30 -0500

On Tuesday, March 25, 2003, at 09:41 AM, Marcel Weiher (and a whole bunch of other folks) wrote:


On Tuesday, March 25, 2003, at 02:55 Uhr, Steve Bird wrote:
--- A reasonable question, but the [myArray count] is messaged only once, because that's the way C for loops work. Read the details on FOR loops - the arguments are evaluated only once to determine parameters, then the loop is executed.

That turns out not to be the case. The middle and last statements in a for() loop are executed once per loop iteration (the middle at the top, checked, the last at the bottom).


--- I stand corrected. I am apparently remembering rules from Pascal.

----------------------------------------------------------------
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
www.Culverson.com (toll free) 1-877-676-8175
_______________________________________________
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.

  • Prev by Date: Re: 3 obj-c/cocoa beginner q's
  • Next by Date: Send TCP Data
  • Previous by thread: Arrays & For Loops
  • Next by thread: RE: 3 obj-c/cocoa beginner q's
  • Index(es):
    • Date
    • Thread