06-27-2022
05:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-27-2022
05:10 AM
I would choose for snippet 4. Writing code is not my profession, so I would not compact it. I use blank lines to separate associated lines of code (dim & set combo's) and use (short) comments as much as I can.
I would however create a single line if-statement for the check if the user selected a view.
I would create an if-else-statement instead of the two if-end if statements for the curves.