entity ch_03_09 is end entity ch_03_09; ---------------------------------------------------------------- architecture test of ch_03_09 is begin process_3_2_d : process is -- code from book: variable N : integer := 1; -- constant C : integer := 1; -- end of code from book constant expression : integer := 7; begin -- code from book: -- error: Case choice must be a locally static expression -- case expression is -- example of an illegal case statement -- when N | N+1 => -- . . . -- when N+2 to N+5 => -- . . . -- when others => -- . . . -- end case; -- case expression is when C | C+1 => -- . . . when C+2 to C+5 => -- . . . when others => -- . . . end case; -- end of code from book wait; end process process_3_2_d; end architecture test; <div align="center"><br /><script type="text/javascript"><!-- google_ad_client = "pub-7293844627074885"; //468x60, Created at 07. 11. 25 google_ad_slot = "8619794253"; google_ad_width = 468; google_ad_height = 60; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /> </div>