- Aug
- 2,831
- 149
I learned by accident today that the Toggle Comment option in TCEDIT does not just apply to .BTM files.
From the help file;
That's only if the file being edited is a .BTM file.
If I am in a .VBS file, it inserts or removes a ' statement at the beginning of the current command line.
If I am in a .PS1 file, it inserts or remove a # statement at the beginning of the current command line.
Ditto for .c and .cpp files.
In a .ahk or .bas or .cs or .csx or .js or .lua file, it does nothing.
Joe
From the help file;
Toggle Comment
Inserts or removes a rem statement at the beginning of the current command line.
That's only if the file being edited is a .BTM file.
If I am in a .VBS file, it inserts or removes a ' statement at the beginning of the current command line.
If I am in a .PS1 file, it inserts or remove a # statement at the beginning of the current command line.
Ditto for .c and .cpp files.
In a .ahk or .bas or .cs or .csx or .js or .lua file, it does nothing.
Joe