Re: [eiffel-users] Is "!!" deprecated?

17 views
Skip to first unread message

Colin Adams

unread,
Jun 23, 2019, 2:36:36 AM6/23/19
to Eiffel Users Group
Yes. Use create instead.

On Sat, 22 Jun 2019 at 22:27, Hank Lenzi <hank....@gmail.com> wrote:
 Hello -

Pardon the newbie question...
Reading old Eiffel books, I keep seeing "!!", as in:

class X

creation
    make
 
feature
    test: REAL
    format: FORMAT_DOUBLE

    make is
           -- show how real formatting is done
          do
               !!format.make (8, 2)
               test := 43.789
               io.new_line
               io.putstring (“Value:%T”)
               io.putstring (format.formatted (test))
          end -- make
end -- class X -- create formatting object

Is "!!" deprecated? I can't seem to find in the Eiffel.com documentation.

Thanks,
Hank

--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-users/ddb73462-c76d-4637-aceb-485edc0a8a4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages