Dyalog / link

Source code for Link – the built-in component that enables the use of text files as the primary storage mechanism for APL source code
https://dyalog.github.io/link
MIT License
19 stars 12 forks source link

Please document and give examples of how to use Link with Dyalog runtime and dyalogscript #622

Open dyavc opened 10 months ago

dyavc commented 10 months ago

Dyalog 19.0.48508 64-bit Unicode, BuildID 4887db0f
OS Windows 10 or Windows Server 2016 (10.0.19045) 64-bit
Link 4.0.13
SALT 2.915

If I have installed Dyalog 19.0 development version, I can run link with the runtime like this: "C:\Program Files\Dyalog\Dyalog APL-64 19.0 Unicode\dyalogrt.exe" DYALOG_INITSESSION=1 c:\myws\runtimeuselink.dws

If there isn't a development version installed, what settings would I use to use link with a runtime?

dyavc commented 10 months ago

If it helps, I have conducted the following crude test:

I copied all my 19.0 Unicode 32-bit files to d:\tmp\d19uni32 and then uninstalled my 19.0 Unicode 32-bit

I can use link with the runtime if I set DYALOG_INITSESSION and StartupSession is in the same directory as the dyalogrt.exe. d:\tmp\d19uni32\dyalogrt.exe DYALOG_INITSESSION=1 d:\19ws\rtuselink.dws

I think it even works if the current directory Start in field of my shortcut is somewhere else.