• 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: NSScanner reads the correct number but the number isn't added to an array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScanner reads the correct number but the number isn't added to an array


  • Subject: Re: NSScanner reads the correct number but the number isn't added to an array
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 14 Dec 2003 09:43:31 -0800

On Dec 14, 2003, at 9:21 AM, Philip Riggs wrote:

for (counter = 0; counter < [numberArray count]; counter++)
NSLog(@"Number %d :: %f", counter, [numberArray
objectAtIndex:counter]);


int n = [numberArray count];
for (counter = 0; counter < n; counter++)
{
NSLog(@"Number %d :: %f", counter,
[[numberArray objectAtIndex:counter] floatValue]);
}

mmalc
_______________________________________________
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: 
 >NSScanner reads the correct number but the number isn't added to an array (From: Philip Riggs <email@hidden>)

  • Prev by Date: NSScanner reads the correct number but the number isn't added to an array
  • Next by Date: Re: NSScanner reads the correct number but the number isn't added to an array
  • Previous by thread: NSScanner reads the correct number but the number isn't added to an array
  • Next by thread: Re: NSScanner reads the correct number but the number isn't added to an array
  • Index(es):
    • Date
    • Thread