entity ch_18_09 is end entity ch_18_09; ---------------------------------------------------------------- architecture test of ch_18_09 is begin process is use std.textio.all; variable L : line; begin write(L, 42, justified => left, field => 5); writeline(output, L); write(L, 42, justified => right, field => 5); writeline(output, L); write(L, 123, field => 2); writeline(output, L); -- code from book: write ( L, string'( "fred" ) ); write ( L, ' ' ); write ( L, bit_vector'( X"3A" ) ); -- end of code from book writeline(output, L); write(L, 3.14159, digits => 2); writeline(output, L); write(L, 123.4567, digits => 0); writeline(output, L); write(L, 40 ns, unit => ps); writeline(output, L); write(L, 23 us, unit => ms); writeline(output, L); wait; end process; 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>