简体   繁体   中英

Loading APL script from GNU APL session

在GNU APL中,有没有一种方法可以从正在运行的APL会话中加载APL脚本(文本文件)?

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

In immediate execution you can load the script with commands )LOAD or )COPY.

If an APL program is being executed then eg ⍎')COPY filename' can be used.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM