home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / sofa / archive / SmallEiffel.lha / SmallEiffel / lib_show / animal / sample3.e < prev   
Text File  |  1999-06-05  |  417b  |  25 lines

  1. class SAMPLE3
  2.  
  3. creation {ANY}
  4.    make
  5.  
  6. feature {ANY}
  7.  
  8.    make is
  9.       local
  10.          chat1, chat2: CHAT;
  11.          t_chat: ARRAY[CHAT];
  12.          medor: CHIEN;
  13.          t_chien: ARRAY[CHIEN];
  14.       do
  15.          !!chat1;
  16.          !!chat2;
  17.          t_chat := <<chat1,chat2>>;
  18.          t_chat.item(1).crier;
  19.          !!medor;
  20.          t_chien := <<medor,medor>>;
  21.          t_chien.item(1).crier;
  22.       end;
  23.  
  24. end -- SAMPLE3
  25.