Re: NSScanner reads the correct number but the number isn't added to an array
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.