[Cuis-dev] PasteUpMorph error in comment

Mark Volkmann r.mark.volkmann at gmail.com
Mon Sep 30 16:06:36 PDT 2024


The backgroundImageData: method in PasteUpMorph contains this comment
showing how the method can be used to add a background image to the
WorldMorph:

self runningWorld backgroundImageData: (FileStream readOnlyFileNamed:
filename) binary contentsOfEntireFile.

But it seems the class FileStream no longer exists.
I think the comment needs to be changed to this:

self runningWorld backgroundImageData: (filePath asFileEntry readStream)
binary contentsOfEntireFile.

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240930/f988beda/attachment.htm>


More information about the Cuis-dev mailing list