)symbols

13 views
Skip to first unread message

Ajay Askoolum

unread,
Mar 8, 2023, 7:29:49 PM3/8/23
to APLWin
Has anyone ever encountered an instance where )symb returns a negative number for the IS value?

Davin Church

unread,
Mar 8, 2023, 8:29:15 PM3/8/23
to APLWin
Nope, but I haven't used )SYMB for decades. Perhaps your WS is damaged?  What does ⎕IT 'AuditRefcountsS' return (it should be all zeros)?

Ajay Askoolum

unread,
Mar 9, 2023, 2:58:13 AM3/9/23
to APLWin
Recently,  I've been getting the Definition failed at line 0 message when editing new functions is an active workspace i.e. one with content. When I copied the editor session in a new instance of APL+Win, Ctrl+E would fix the function without complaint.

It was purely by coincidence that I queried )symb in the workspace where the error occurred and found the negative value for IS,  Fearing that I would lose that workspace, (that I had a workspace on the verge of being corrupted) I copied its contents to another to save it and dropped the original. I should have kept it  but alas I did not. This is the workspace that I  am trying to build recursive functions.

I had a workspace that I could neither load nor copy about 2 years ago - updating the backup copy was a real ordeal.

Davin Church

unread,
Mar 9, 2023, 8:41:26 AM3/9/23
to APLWin
Yeah, I regularly check my workspaces for a common kind of memory corruption with ⎕IT. I also use my (freely-available) ARM system to keep all my code archived and managed. That way I can easily recover everything if it's lost and can back-track through all my versions of code to find out where I broke something, among many other advantages.
Reply all
Reply to author
Forward
0 new messages