Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor exchange error checking code #304

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

w7sst
Copy link
Owner

@w7sst w7sst commented Apr 15, 2024

  • move exchange error checking into separate procedures
  • replace error strings with error codes
  • error strings are now found in a table
  • add TContest.FindQsoErrors to allow specialization by contest

- move exchange error checking into separate procedures
- replace error strings with error codes
- error strings are now found in a table
- add TContest.FindQsoErrors to allow specialization by contest
@w7sst w7sst requested review from f6fvy, jr8ppg and K6OK April 15, 2024 16:56
@w7sst w7sst self-assigned this Apr 15, 2024
@w7sst w7sst linked an issue Apr 15, 2024 that may be closed by this pull request
@w7sst
Copy link
Owner Author

w7sst commented Apr 15, 2024

I always like to do code movement (refactoring) in a separate checkin. This change combines code movement and rewrite since the error string assignments are now done using an error code and a table lookup. Otherwise the behavior should be the same.

Copy link
Collaborator

@f6fvy f6fvy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me. Just found 2 useless Begin/End statements (lines 866/868, 881/883). Not a big deal.

@w7sst w7sst merged commit 174e581 into main Apr 18, 2024
@w7sst w7sst deleted the 303-refactor-qso-error-checking-code branch April 18, 2024 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor qso error checking code
2 participants