August Karlstrom
August Karlstrom

Reputation: 11377

Loading APL script from GNU APL session

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

Upvotes: 1

Views: 343

Answers (2)

user11432032
user11432032

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

user11423956
user11423956

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

Related Questions