News:

  • August 03, 2026, 07:19:15 PM

Login with username, password and session length

Author Topic: Feature Request - Import/Export Replace/Swap lists  (Read 8974 times)

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 53
Feature Request - Import/Export Replace/Swap lists
« on: November 08, 2022, 03:48:48 PM »
It would be very useful to be able to import/export lists created for the Replace/Swap tool as .csv files.

This would allow for much faster editing of UDT-based lists.  As we re-use code (for example, code that cannot be used in a subroutine, due to instruction limitations), we find ourselves recreating the same list, many times, only changing an ID value in the nickname or UDT name.

Also, allowing us to resize the entire window, but particularly the list section, would make the tool easier to use.  It can be difficult to proof-read the list before execution, as-is -- see attachment.
If you don't make mistakes, you aren't doing anything.

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Re: Feature Request - Import/Export Replace/Swap lists
« Reply #1 on: November 08, 2022, 05:40:53 PM »
I hope you haven't been doing the attached for a long time. You can replace all elements of the UDT at one time. In your case:

PmpChem0 -> PmpChem1

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 53
Re: Feature Request - Import/Export Replace/Swap lists
« Reply #2 on: November 08, 2022, 06:04:25 PM »
  :o  We tried that and got an error (don't remember what) -- so started going the long way 'round.  Definitely going to try it again in the morning.  Maybe we had a typo when we tried before and didn't notice it.   :-\
If you don't make mistakes, you aren't doing anything.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3839
    • Host Engineering
Re: Feature Request - Import/Export Replace/Swap lists
« Reply #3 on: November 09, 2022, 09:40:21 AM »
  :o  We tried that and got an error (don't remember what) -- so started going the long way 'round.  Definitely going to try it again in the morning.  Maybe we had a typo when we tried before and didn't notice it.   :-\

There were issues related REPLACE with STRUCTUREs that have been fixed in 2.9.4.  If you are using an older version of Designer, that may have been what you saw.  Hopefully, 2.9.4 will do what you need (simpler MyStruct0 with MyStruct1 w/Match Exactly UNchecked).

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 53
Re: Feature Request - Import/Export Replace/Swap lists
« Reply #4 on: November 10, 2022, 11:08:38 AM »
Looks like it was either a version issue or, possibly, we had "Match Exactly" checked.  At any rate, it's great now.  Huge time saver.  Thanks!
If you don't make mistakes, you aren't doing anything.