Hi Alex,
This comes from VW where there is a more elaborated mechanism for expressing so called User Messages. The two messages used here << and
are implemented as follows:
Symbol<< aCatalogID "Create a UserMessage with the receiver as the key, and the argument as the catalog ID."
^UserMessage defaultString: nil key: self catalogID: aCatalogID
UserMessage<< aSymbol "This is shorthand for setting the catalog ID"
self catalogID: aSymbol
The UserMessage then takes care of the printing. If this mechanism does not exist in Squeak, just use a simple string.
Cheers, Doru
On 11 Mar 2009, at 09:48, Alexandre Bergel wrote:
In this method, there is: #ErrorPrintingTheObject << #labels >> 'Error printing the object'
I do not understand what this mean. Why not "self error: 'Error printing the object'" ?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."