Issue with ]fn.compare
3 posts
• Page 1 of 1
Issue with ]fn.compare
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?
May I suggest a patch to your developers: erasing lines [68] to [70] in the relevant function?
- dyallaz
Re: Issue with ]fn.compare
Thank you for this report. I've fixed the code to be as follows:
This will go into future builds.
:If 0=≢r
r←'[no differences found]'
:EndIf
This will go into future builds.
-
Adam|Dyalog - Posts: 143
- Joined: Thu Jun 25, 2015 1:13 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group