Initializing an Array
Initializing an Array
- Subject: Initializing an Array
- From: "Michael P. Rogers" <email@hidden>
- Date: Mon, 21 Jan 2002 16:18:47 -0600
Is it possible to initialize an instance variable array in
Objective-C? PB doesn't like it when I attempt to do so in the
interface section, i.e., code like this fails:
NSString * sayings[2] = {@"Do unto",@"others"};
TIA,
Michael
--
Dr. Michael P. Rogers
Office: 203G Shilling Hall
Phone: 217-424-6327 (W) 309-828-8655 (H) 309-825-6454 (C)
E-Mail: email@hidden
Web site:
http://math.millikin.edu/
Astronomy Site:
http://twincityamateurastronomers.org