1

In GNU APL, is there a way to load an APL script (text file) from a running APL session?

August Karlstrom
  • 10,773
  • 7
  • 38
  • 60

2 Answers2

2

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

Tamir Klein
  • 3,514
  • 1
  • 20
  • 38
1

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.