The Aida 5.6 String>>contentsAsMethod should close the method with a ")" instead of a "]"...
contentsAsMethod
"return a body of method with a literal array with contents of that string"
| input output |
input := self readStream.
output := WriteStream with: String new.
output nextPutAll: '^#('.
[input atEnd] whileFalse: [output nextPutAll: input next asInteger asString; nextPut: $ ].
output nextPutAll: ')'.
^output contents
Rob
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida