Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TCEDIT and Toggle Comment

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;
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
 
Back
Top