Closed bennorth closed 9 years ago
To construct a watcher for a variable, the block should be 'readVariable' not 'getVar:' (which is not recognised as a block).
(The final project file does need to specify 'getVar:'; the conversion is done in
scratch20.ZipWriter.save_watcher() scratch14.Serializer.save_watcher()
on the way out and
scratch20.ZipReader.load_watcher() scratch14.Serializer.load_watcher()
on the way in.)
Great, thanks!
To construct a watcher for a variable, the block should be 'readVariable' not 'getVar:' (which is not recognised as a block).
(The final project file does need to specify 'getVar:'; the conversion is done in
on the way out and
on the way in.)