Its main functions include: generating complete comments, modifying interrupted comments of the program, case conversion, etc.

- Green versionView
- Green versionView
- Green versionView
How to use
There are two ways to use it:
1. Click pbcomment.exe directly and an interface will appear to control the generation of comment statements. The operation method will not be explained one by one. You will know it naturally after looking at the interface.
2. As a running method with parameters, you can add a custom toolbar to the PB toolbar, and then let it run pbcomment.exe with parameters. Pay attention to the file path. In this case, it is equivalent to directly expanding the functions of the PB development environment.
The main command parameters are as follows:
pbcomment ALL automatically generates function or event parameters
pbcomment ADD means writing, modifying, adding, and deleting code comments. The default is to modify
Press the [CTRL] key at the same time to add a new code comment
Press the [SHIFT] key at the same time to delete the code comment
pbcomment STEP means writing step code comments and explaining several relatively large functions.
Press the [CTRL] key at the same time to generate the modification date at the same time
pbcomment UPPER All caps the text in the currently selected block in PB code editing
pbcomment LOWER Makes the text in the currently selected block in PB code editing all lowercase
pbcomment INDENT automatically formats and beautifies the code in the current PB
pbcomment PREFIX adds a prefix or suffix to each line of code in the currently selected code block
Press the [CTRL] key at the same time to delete the mark before a certain mark in each line.
Or the code behind
Parameter settings
The default parameters are saved in the pbcomment.ini file in the program directory.
[COMMENT_PARM]
; Reason for modifying the program
REASON = Fix bug
; The default author for modification or code writing. If not set, the current user name of the computer will be automatically used.
AUTHOR = Trueway Lee
; Date format in comments
DATEFORMAT = yyyy.mm.dd
; Copyright statement, when set to a space, the copyright item will automatically not be displayed in the code comments.
COPYRIGHT = Copyright (C) TRUEWAY(TM) 2003, All rights reserved.
; The number of separators for comments
COMMENT_LINE_LENGTH =68
; Format beautification parameters, it is recommended to run PBCOMMENT.EXE to set parameters
INDENT = FFFFF
; = 0 Simplified Chinese =1 English
language = 0
Change log
6.1
Fixed some errors in handling automatic integration of PBCOMMENT into PB
Fixed a bug in processing the entire beautification code of *.sr* files in PB 8.0 or later
Added support for function annotations to differentiate between different language versions





















Useful
Useful
Useful