I mess around with the scratch 1.2.1 source code sometimes, and have noticed that there is code in there for the comment block. I wonder about bringing it back. My question is, is there a way to add a few lines of code somewhere in the squeak code to bring the comment block "back from the dead" in my custom version? Thanks in advance.
Offline
Hi danp357,
in the current sources you'll find the code for all deprecated blocks (blocks that used to be there in some previous version but have been left out of the current one) for compatibility reasons. There are numerous ways to use such 'old' blocks in new projects. One is, to open an 'old' project and use the copy-tool on an old 'obsolete' block.
I would not, however, do it, because sometimes these old blocks also come with old bugs. Especially the deprecated comment block from the v1.2 Beta had a serious unfixed bug (and still has it) when you try to export / import any sprite using it (it'll bring up a walkback complaining about some key-mapping error).
Offline
how do you get the source code for scratch? and can you then edit it in squeak?
Offline