Page 1 of 1

curitemprev variable updating

Posted: 10 Dec 2021 20:40
by jupe
Within the last week-ish I have noticed a recent change in behavior, what is happening is that the curitemprev variable is getting updated at times when it didn't previously which in turn gives a bogus return, I have managed to find a way to trigger it, and make a repro script, just goto a folder with at least 2 dummy test files and run it, unexpectedly the returned filenames will match:

Code: Select all

  sel 2;
  sel 1;
  timestamp;
  text "CI: <curitem><crlf 2>CP: <curitemprev>";
If you remove the timestamp line the filenames won't match, which is the expected behavior, and how it has worked up until recently.

I also have a slightly related wish since on a close subject, would it be possible to add "drive" as an avail param for get('curitem') without too much hassle?

Re: curitemprev variable updating

Posted: 11 Dec 2021 12:19
by admin
1) Fix comes.
2) Sure.

Re: curitemprev variable updating

Posted: 11 Dec 2021 23:04
by jupe
  1. Fixed in v22.60.0003, thanks!
  2. :biggrin: