whereas the Dyalog APL IDE (by default) will execute every separate input line as a line of code, and, when it gets a line of Fibonacci←{⎕IO←0 ⍝ First ⍵ fibonacci numbers., it'll understandably think that's invalid
Read, Evaluate, Print, Loop. The idea that you get an instant result for each line you execute, as opposed to writing a full program and executing it all at once
the proper thing to do would be to execute )ed Fibonacci, paste the code there, end exit the window