Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • This is incredible, and incredibly close to what I was trying to get across. Thank you very much for your time with that. I can learn a lot already from reading what you wrote. That makes a lot of sense if I'm looking to check for one condition, e.g. "Location = 1." Say I wanted to check for multiple conditions, what would be the best way to approach that? I've edited the main post with an example for clarity's sake. Would you mind taking a look? Commented Oct 15, 2018 at 22:23
  • This asks for a replacement of the updateEntry step. Instead of a static function, we'll need to create an update function that is based on the changes in the other file. A pointer: Create an object of REGO: CORRECT_SHIFT, for every entry you need to check, check if there's a corrected value in this object and update accordingly. Commented Oct 18, 2018 at 8:16