Reputation: 11377
In GNU APL, is there a way to load an APL script (text file) from a running APL session?
Upvotes: 1
Views: 343
Reputation: 36
I cannot add a comment because I keep getting " This action requires 50 reputation."
Short answer:
Make the first 2 characters of your script: #!
Long answer:
See Chapter 3.1.6 of Helpful-Features-for-Scripting
Upvotes: 2
Reputation: 11
In immediate execution you can load the script with commands )LOAD or )COPY.
If an APL program is being executed then e.g. ⍎')COPY filename' can be used.
Upvotes: 1