This program keeps getting better.
Thanks for this latest update, George.
Tree.sb to list folder contents
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Tree.sb to list folder contents
The only thing that gets me down is gravity...
- GeorgeMcGinn
- Posts: 435
- Joined: Sat Sep 10, 2016 6:37 am
- My devices: IPad Pro 10.5in
IMac
Linux i386
Windows 7 & 10 - Location: Venice, FL
- Flag:
- Contact:
Re: Tree.sb to list folder contents
You are welcome. And speaking of programs getting better, the next release will have a GUI so you can input the directory name, set limits on when to flag files as large, and whether or not to print all files, or just those that meet the large file condition. I plan to use the File Compare code and integrate its GUI to work with this code.
Oh, and speaking of your File Comparison program, I am testing the changes now, and it is looking good. I have expanded the GUI to allow for processing switches. Here is the change log entry for the next version of the File Compare program:
v3.0 Updates (George McGinn, September, 2017)
– Fixed premature end when one file reaches EOF and the other file still has unprocessed lines.
These lines will now be displayed as "No Match" and appear on the report.
– Added a switch to allow the user to SHOW or HIDE all lines that matches.
– Added a switch to process or ignore BLANK LINES in the compare. In Data, the blank
line may mean missing data, where in source code, it is used to make a program more
readable and not a valid compare test (more of a programmer's preference).
– Added a switch to allow the inclusion or exclusion of INDENTED lines in the compare
process. Like BLANK LINES, indenting is mostly a personal preference in writing source
code.
– Added a switch to allow the compare of lines without spaces (Ignore Empty Spaces).
Again, a programmer preference, this will resolve code that is the same, but one
programmer may like to line up = signs or other formatting. However, if you set this
switch to "Y", you must also set "Ignore Blank Lines" to "Y", otherwise the mismatching
due to extra blank/null lines means this switch has no effect. Both must be on to get
the right line-up and the proper matches for format issues. Indents can be either a
"Y" or "N", as removing all spaces negates the check, making it useless as any indents
will be removed when all spaces are removed.
– Added a POP-UP help system that explains how the compare works and the values for each
of the processing switches. This will expand as we get into Versions 3 and 4.
Oh, and speaking of your File Comparison program, I am testing the changes now, and it is looking good. I have expanded the GUI to allow for processing switches. Here is the change log entry for the next version of the File Compare program:
v3.0 Updates (George McGinn, September, 2017)
– Fixed premature end when one file reaches EOF and the other file still has unprocessed lines.
These lines will now be displayed as "No Match" and appear on the report.
– Added a switch to allow the user to SHOW or HIDE all lines that matches.
– Added a switch to process or ignore BLANK LINES in the compare. In Data, the blank
line may mean missing data, where in source code, it is used to make a program more
readable and not a valid compare test (more of a programmer's preference).
– Added a switch to allow the inclusion or exclusion of INDENTED lines in the compare
process. Like BLANK LINES, indenting is mostly a personal preference in writing source
code.
– Added a switch to allow the compare of lines without spaces (Ignore Empty Spaces).
Again, a programmer preference, this will resolve code that is the same, but one
programmer may like to line up = signs or other formatting. However, if you set this
switch to "Y", you must also set "Ignore Blank Lines" to "Y", otherwise the mismatching
due to extra blank/null lines means this switch has no effect. Both must be on to get
the right line-up and the proper matches for format issues. Indents can be either a
"Y" or "N", as removing all spaces negates the check, making it useless as any indents
will be removed when all spaces are removed.
– Added a POP-UP help system that explains how the compare works and the values for each
of the processing switches. This will expand as we get into Versions 3 and 4.
George McGinn
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)