I'm confused. When I work with Magnitudes there are odd inconsistencies. I try to convert Characters and Floats to Strings to print them out, I use different methods to get the results I expect. See below for a sample.
st> var asString ! Object: 89910996357705.5 error: did not understand #asString MessageNotUnderstood(Exception)>>#signal FloatD(Object)>>#doesNotUnderstand: UndefinedObject>>#executeStatements nil st> var printString ! '89910996357705.5' st> $r asString ! 'r' st> $r printString ! '$r' For the Character, asString gives me the representation I'm looking for, whereas the Float only has printString available. Shouldn't there be a asString method available for Floats? BTW, I'm putting together a document of GNU Smalltalk for newbies. _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
