April 20, 2024, 09:45:45 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Sorting SUB's

Started by billhsln, July 03, 2019, 04:35:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

I like having the SUB's in AlphaNumeric order, so I created this program to quickly sort the source code.  It takes your code and then rewrites it back out with the Main first and the SUB's sorted afterwards.

I assume that the Main is first and all the SUB's are afterwards.  I also require SUB to be capitalized and have 1 blank afterwards and expect it to be in Column 1.  I allow up to 30 chars for the SUB name.

Maybe some one else is like me and prefers their SUB's sorted in the program.

Bill
When all else fails, get a bigger hammer.