Path: utzoo!news-server.csri.toronto.edu!rutgers!att!pacbell.com!ucsd!hub.ucsb.edu!spica!hubert From: hubert@spica.ucsb.edu Newsgroups: comp.lang.eiffel Subject: Simple program. Bug? Message-ID: <9865@hub.ucsb.edu> Date: 13 Mar 91 07:06:49 GMT Sender: news@hub.ucsb.edu Lines: 41 I wrote a simple ( not even) a program for Eiffel to see how the sorted-list class works but the "ec" gave me some messy message. But it works well, when I changed it into linked_list. I have included the UNIVERSE to be structures...etc. As a new programmer in Eiffel I would like to know the answer. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class courselist export createclist feature course:sorted_list[integer]; createclist (c:integer) is do course.start; course.put(c) end; end --class courselist ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Pass 2 on class sorted_list "sorted_list": cannot open /usr/packages/Eiffel/library/structures/sorted_list.E/.F Fatal error. Cannot resume. *** ec: pass2 canceled ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What is wrong? Please e-mail or post. Thank you. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hung-Hsien Chang ( Hubert) E-mail: hubert@cs.ucsb.edu P.S: Hubert is not my middle name; it is easier for American friends to call me.