title: Objective-C, mixing NSString with calculations and numbers in NSArray not allowed?
body: <p>I have two arrays winDscr and winSize. winDscr holds the descriptions and winSize is supposed to hold the values for the requested windows bounds. See below.</p>
  
  <p>winDscr is OK so far. winSize however shows an error (Expected expression) at the 2. line containing '{2560,4*2560/5},'. I haven´t done it before this way, is it not allowed to mix NSString and calculations at all? What am I doing wrong?</p>
  
  <p>Any clues would be very helpful, Tia, Ronald.</p>
  
  <pre><code>NSArray *winDscr = [NSArray arrayWithObjects:
                     @"Auto",
                     @"2560-&gt; 5:4",
                     @"2560-&gt;16:10",
                     @"2048-&gt; 4:3",
                     @"1920-&gt; 4:3",
                     @"1920-&gt;16:10",
                     @"A2 Portrait",
                     @"A2 Landscape",
                     @"A3 Portrait",
                     @"A3 Landscape",
                     nil];
  
  NSArray *winSize = [NSArray arrayWithObjects:
                     @"Auto",
                     {2560,4*2560/5},
                     {2560,10*1920/16},
                     {2048,3*2048/4},
                     {1920,3*1920/4},
                     {1920,10*1920/16},
                     {[convertMMToPixel:420],[convertMMToPixel:594]},
                     {[convertMMToPixel:594],[convertMMToPixel:420]},
                     {[convertMMToPixel:297],[convertMMToPixel:420]},
                     {[convertMMToPixel:420],[convertMMToPixel:297]},
                     nil];
  </code></pre>