I have psychological problems with User Commands, so I use them every 10 months at most. Today I remembered the existence of ]fn.compare and used it to compare 2 slightly different versions of a Dops of mine. The result was an, at first sight, useless error message "VALUE ERROR: Undefined name: FOUNDDIFFS." After some deep thinking, I realised that this name probably referred to a variable in the APL code behind the command. With ]UDebug on, I was able to stop the processing and define FOUNDIFFS from my workspace. Resuming the run provided the expected result.
May I suggest a patch to your developers: erasing lines [68] to [70] in the relevant function?
Issue with ]fn.compare
- Adam|Dyalog
- Posts: 143
- Joined: Thu Jun 25, 2015 1:13 pm
Re: Issue with ]fn.compare
Thank you for this report. I've fixed the code to be as follows:
:If 0=≢r r←'[no differences found]' :EndIfThis will go into future builds.