Re foxandmonkey: "Often"?! Only my program would have such a usage. If you had read all the programs I wrote here, you wouldn't have this question. This statement is mainly to assist in achieving the modularization you mentioned, similar to the CALL :lable usage under the NT command line. It means that if the first parameter is $, then the second parameter is taken as the label of the specified module and jumps to there. is similar to "%1", I call it "air defense character" because it is to prevent %1 from being empty and causing a syntax error in the if statement. Also, $ and are quasi-keywords often used in my early programs. They are defined by us program designers. Of course, for the uniformity of style and readability of the program, such usage has become my habit. However, now I am considering making some changes in style, such as changing to "" which is used more commonly by more people, and $ to : and so on, because my programming platform has changed a lot.
※ Batchinger 致 Bat Fans:请访问
批处理编程的异类 ,欢迎交流与共享批处理编程心得!