Having re-entered the Sandbox directory in Communication (to what it was before), the module is found, but now I get another 'nasty' comment / surprise:
>echo(0);
ERROR: Out of Memory!
WARNING: Unable to create string as not enough memory
WARNING: Out of memory while appending to array
Execution Interrupted.
at line 2 col 60
...(g-a+1)*(f-d+1)});c.set()}});c.write(1);e.write(1);h.write(0...
>
I just wonder why... because it is the very same (in total) amount of 'unmodularized' code when sending from edit pane (...with no module but module code imbedded). It is the code shown in post at http://forum.espruino.com/comments/11899589/, except the first part as module in the /sandbox/modules directory - which worked before (with Module Minification set to Web IDE's default).
I assume the out of memory occurs because the module is not streamed but read as a whole and then sent... could that be? - I tested successfully the module (core code) embedded, so it cannot be some syntax issue.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Having re-entered the Sandbox directory in Communication (to what it was before), the module is found, but now I get another 'nasty' comment / surprise:
I just wonder why... because it is the very same (in total) amount of 'unmodularized' code when sending from edit pane (...with no module but module code imbedded). It is the code shown in post at http://forum.espruino.com/comments/11899589/, except the first part as module in the /sandbox/modules directory - which worked before (with Module Minification set to Web IDE's default).
I assume the out of memory occurs because the module is not streamed but read as a whole and then sent... could that be? - I tested successfully the module (core code) embedded, so it cannot be some syntax issue.