CHAINing a crunched embedded file

Something I've just spotted: if you build a (fully-) crunched bundle in BBCSDL and your program CHAINs a crunched .bbc submodule embedded in that bundle, it probably won't work.

The reason is that the CHAINed submodule won't be flagged as needing heap space to be allocated for the 'fast' variables; only the 'main' program is so flagged.

The simplest solution is to de-select the 'Crunch embedded program (.BBC) files' option so that the CHAINed module won't be crunched. Alternatively de-select 'Shorten names'.
Sign In or Register to comment.