Skip to main content
4 events
when toggle format what by license comment
Nov 9, 2017 at 3:11 vote accept Leonx
Nov 3, 2017 at 4:17 comment added Leonx Yep, only realized it just now. In reality, most cells in a notebook are executable except those are commented, then one would think Mathematica would preserve such cells when converting to a package or script.
Nov 3, 2017 at 4:08 comment added J. M.'s missing motivation Cells that are not initialization cells in a notebook are converted to comments when the notebook is saved as a package/script. So, select all the cells you want to be executable and then press Ctrl+8 to turn them into initialization cells.
Nov 3, 2017 at 4:01 history answered Leonx CC BY-SA 3.0