Show script source from flash

Posted on
  • This was going to be a question post, but I just found the answer so I'm posting it to benefit others. Maybe I haven't watched enough tutorials, but it was a bit non-obvious to me.

    If you want to display the source file currently stored in flash, use the "dump()" function. This works nicely if you are editing the source on one workstation, save it to flash and take the Espruino with you, then want to show/edit the source on another machine.

    How about a way to call dump() directly from the IDE and dump the source into the editor window?

  • Hi Brian, glad you found the answer...

    That could be a neat idea. I'll add it as something to do on the IDE.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Show script source from flash

Posted by Avatar for Brian @Brian

Actions