My code becomes colorless and “Command+return” no longer executes a selected line of code. The code works if I run it in REPL.
Answering my own stupid question: The script was not a .jl file so not recognized as an executable one. After adding .jl, it works perfectly.
1 Like