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

Export refuses to export LX, with less than helpful message #639

Open mkromberg opened 6 months ago

mkromberg commented 6 months ago
  myns.⎕LX←'lx'
  ]link.export myns.⎕LX c:\tmp\myns

ERRORS ENCOUNTERED: ⎕SE.Link.Export: Not a properly named namespace: #.myns.⎕LX

It should be possible to explicitly export any system variable, even if it does not have namespace scope. Or at least improve the error message.

abrudz commented 6 months ago

Not any, but we can allow workspace (not session!) scope sysvars with a warning and the condition that Import and Create refuse to bring in this folder into any other namespace than #.