title: Pointer to Array of Strings as CONST?
body: <p>i program a application with mikroC PRO for AVR on the Hardware mikromedia for XMEGA.
  I have different languages to show on a TFT Display.
  I must switch the languages at runtime.</p>
  
  <p>This works the following way, as example for the languages german and english.</p>
  
  <p>I have two Pointer Arrays for the languages:</p>
  
  <pre><code>char* deu_hilfe[] = {
              "START = Startet die Messung",
              "STOPP = Stoppt die Messung",
              "SETUP = Aufruf des Setups",
              };
  
  char *eng_hilfe[] = {
              "START = Start the measurement",
              "STOPP = Stop the measurment",
              "SETUP = Open the setup",
              };
  </code></pre>
  
  <p>I define a pointer to a pointer:</p>
  
  <pre><code>char **sprache_hilfe; 
  </code></pre>
  
  <p>Then i allocate the pointer to the german or english array:</p>
  
  <pre><code>sprache_hilfe   = eng_hilfe;
  sprache_hilfe   = deu_hilfe;
  </code></pre>
  
  <p>And use it:</p>
  
  <pre><code>TEXT_HI_HITXT_1.Caption  = sprache_hilfe[SP_HILFE_ALG_BUTTON];
  </code></pre>
  
  <p>This works fine, but my problem is, that the arrays are in the RAM and my RAM is full now.
  So i tried to make the arrays CONST. 
  But when i cast my array to the pointer with:</p>
  
  <pre><code>char **sprache_hilfe   = (char*)eng_hilfe;
  </code></pre>
  
  <p>I see no text on the display.
  I think something is wrong with my cast.
  Has anyone a better solution or knows what is wrong with my code?</p>
  
  <p>Greetings from Germany
  Patrick</p>