• 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: make a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make a list


  • Subject: Re: make a list
  • From: Sascha Kuehn <email@hidden>
  • Date: Fri, 5 Dec 2003 19:26:29 +0100

On 5. Dez 2003, at 19:19 Uhr, Alexander Spohr wrote:

> + (NSArray*) convertString:(NSString*) theString;
> {
> NSArray *anArray = [theString componentsSeparatedByString:@"\r"];
> NSMutableArray *aMasterArray = [NSMutableArray array];
> for(i=0; i<[anArray count]; i++)
here i got an error:
string2list.m:18: error: `i' undeclared (first use in this function)
string2list.m:18: error: (Each undeclared identifier is reported only
once
string2list.m:18: error: for each function it appears in.)

> {
> NSString *aString = [anArray objectAtIndex:i];
> [aMasterArray addObject:[aString componentsSeparatedByString:@"\t"]];
> }
> return aMasterArray;
> }
_______________________________________________
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: 
 >make a list (From: Sascha Kuehn <email@hidden>)
 >Re: make a list (From: Alexander Spohr <email@hidden>)
 >Re: make a list (From: Sascha Kuehn <email@hidden>)
 >Re: make a list (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: make a list
  • Next by Date: Re: windows title bar at left
  • Previous by thread: Re: make a list
  • Next by thread: Re: make a list
  • Index(es):
    • Date
    • Thread