[Cuis-dev] PasteUpMorph error in comment

Juan Vuletich juan at cuis.st
Mon Sep 30 18:31:49 PDT 2024


On 9/30/2024 7:06 PM, Mark Volkmann via Cuis-dev wrote:
> 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.

You're right. I've just pushed a fix (with your author initials) to GitHub.

Thanks,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240930/d8c85f51/attachment.htm>


More information about the Cuis-dev mailing list