Quad Save from Quad SE

General APL language issues

Quad Save from Quad SE

Postby paulmansour on Wed Oct 02, 2019 5:50 pm

It is not currently possible to use ⎕SAVE from ⎕SE.

I think the left argument of 0 to ⎕SAVE (to save with no state) is a fairly recent invention, or at least it postdates the invention of ⎕SAVE and ⎕SE, and perhaps the restriction should have been relaxed at the time of the enhancement.

I understand the restriction when trying to save with a state indicator, but is there any reason it should be restricted when a left arg of 0 is provided?

It would seem that one of the main places one would be when trying to save a workspace with no state is in fact smack in the middle of ⎕SE.
paulmansour
 
Posts: 420
Joined: Fri Oct 03, 2008 4:14 pm

Re: Quad Save from Quad SE

Postby AndyS|Dyalog on Thu Oct 03, 2019 7:58 am

That'll be 017479: 0 ⎕SAVE fails with ⎕SE functions on the stack

Coincidentally Nicolas raised this a couple of weeks ago, and Geoff has now fixed it, so the fix should be available in the next set of patches that we release.

The limitation was the result of an overabundance of caution .. we've slackened the conditions under which 0 ⎕save can be called to include allowing functions in ⎕se on the stack.
User avatar
AndyS|Dyalog
 
Posts: 257
Joined: Tue May 12, 2009 6:06 pm

Re: Quad Save from Quad SE

Postby paulmansour on Thu Oct 03, 2019 2:11 pm

Andy, excellent, thanks!
paulmansour
 
Posts: 420
Joined: Fri Oct 03, 2008 4:14 pm


Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest