String constants and once functions

Paolo Redaelli <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general,gmane.comp.lang.eiffel.smalleiffel
Message-ID <1110005704.2500.4.camel@barnard>
What are the differences between this two features?

feature -- String constants

	foo: STRING is "Foo is nice"
		-- foo string

	foo_once: STRING is
			-- foo string implemented as an once function
		once
			Result := "Foo is nice and made once"
		end

I'm not sure: they should be almost the same shouldn't them?

Note for SmartEiffel people: have you ever tried to insert once strings
in the standard throught ECMA, NICE or anything else?

To Gobo people: is it the right mailing list to ask for portability
iusses?

Cheers,
	Paolo





To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.