[aida] [Squeak] String>>contentsAsMethod

nicolas petton petton.nicolas at gmail.com
Wed Oct 24 00:08:56 CEST 2007


Hi again,

I think there is a little bug in this method in Squeak : "output
nextPutAll: ']'" should be replaced with "output nextPutAll: ')'".

This method does not work (at least with PNG and GIF) for me, the
returned array seems to be wrong. I replaced it with :

contentsAsMethod
	| array |
	array := (FileDirectory default oldFileNamed: self) binary contents
asArray.
	^'^', array asString

Cheers,

Nicolas
		
-- 
Nicolas Petton
http://nico.bioskop.fr
             ___
           ooooooo
          OOOOOOOOO
         |Smalltalk|
          OOOOOOOOO
           ooooooo
            \   /
             [|]
--------------------------------
Ma clé GPG est disponible ici :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D

-------------- section suivante --------------
Une pi�ce jointe non texte a �t� nettoy�e...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071024/80f58dda/attachment.sig 


More information about the Aida mailing list