[Cuis] MNU: String>>skipTo:

Dan Norton dnorton at mindspring.com
Tue Aug 11 20:53:45 CDT 2015


Some problems trying to the use Symbol class #readFrom: method:

	In the comment "Symbol readFromString: '#abc'", #readFromString: is unknown

	changing it to #readFrom: gets MNU: String>>skipTo:

The method #skipTo: is in PositionableStream but String is not in that hierarchy. However, 
this works:

	Object readFrom: (ReadStream on: '#abc')

In Squeak, "Symbol readFromString: '#abc'" answers #abc.

 - Dan




More information about the Cuis mailing list