Just starting with LIST

1 message Options
Embed this post
Permalink
Indy81

Just starting with LIST

Reply Threaded More More options
Print post
Permalink
Hi i'm starting in Eiffel and i have problems with the list
i searched (sorry about my english) but i found nothing about LIST
this code don't work

class
        HELLO

create
        make

feature -- Initialization
lista:LIST[INTEGER_32]
num:INTEGER
        make is

                do
                create num
                num:=5
                create lista
                lista.extend (num)
       
                end

end -- class HELLO

what i'm doing wrong?
thanks in regards