When reading a list from a file, I have an error with the last line. I do not know how to fix it

leer: unaLista desde: unArchivo 
| dataStream bos array |

dataStream := unArchivo asFilename readStream.
bos := BinaryObjectStorage onOldNoScan: dataStream.
[array := bos contents] ensure: [bos close].

unaLista nextPutAll: array. <-- en esta linea me salta el error.

asked by Zaky Competitivo 09.11.2018 в 18:27

0 answers