Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions on style
#8
That's a cool effect. It never occurred to me to use blank subs that way.

I have put development notes in large projects in a blank sub that contained remarks only.

SUB Comments
    'V. 1.0 enhancements, etc., etc.
    'V. 1.5 enhancements, etc., etc.
    'other project notes, jokes, doodles, copyright/license texts, etc.
END SUB 'Comments

One thing I do, as seen above, is to always reiterate the sub/function title as a comment after the END line. That helps me to tell at a glance what lies above my insertion point. I find it helpful if the sub is particularly long.
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
Reply


Messages In This Thread
Questions on style - by justsomeguy - 06-25-2023, 06:18 AM
RE: Questions on style - by bplus - 06-25-2023, 01:12 PM
RE: Questions on style - by Kernelpanic - 06-25-2023, 01:25 PM
RE: Questions on style - by bplus - 06-25-2023, 02:05 PM
RE: Questions on style - by justsomeguy - 06-25-2023, 07:09 PM
RE: Questions on style - by OldMoses - 06-25-2023, 08:30 PM
RE: Questions on style - by justsomeguy - 06-25-2023, 09:25 PM
RE: Questions on style - by TerryRitchie - 06-25-2023, 11:39 PM
RE: Questions on style - by OldMoses - 06-25-2023, 11:22 PM
RE: Questions on style - by Ultraman - 06-26-2023, 11:32 AM
RE: Questions on style - by justsomeguy - 06-26-2023, 12:05 PM
RE: Questions on style - by Ultraman - 06-26-2023, 12:17 PM
RE: Questions on style - by madscijr - 06-27-2023, 02:56 PM
RE: Questions on style - by Ultraman - 06-26-2023, 12:29 PM
RE: Questions on style - by CharlieJV - 06-28-2023, 08:31 PM
RE: Questions on style - by bplus - 06-26-2023, 03:47 PM
RE: Questions on style - by madscijr - 06-27-2023, 02:49 PM
RE: Questions on style - by TerryRitchie - 06-27-2023, 04:18 PM
RE: Questions on style - by madscijr - 06-27-2023, 08:15 PM
RE: Questions on style - by SMcNeill - 06-27-2023, 04:48 PM
RE: Questions on style - by SMcNeill - 06-27-2023, 04:52 PM
RE: Questions on style - by bplus - 06-27-2023, 08:29 PM
RE: Questions on style - by Gets - 06-27-2023, 08:52 PM
RE: Questions on style - by justsomeguy - 06-27-2023, 09:32 PM



Users browsing this thread: 7 Guest(s)