Welcome! Log In Create A New Profile

Advanced

Comment out some code is there another way

Posted by Hans60 
Hans60
Comment out some code is there another way
March 03, 2009 04:40PM
Comment out some code is there another way than the //. I need to comment out some test code and revert back to active. Inserting via ctrl// is easy but how do I quickly revert back after save?

Thanks
Hans
M. Beaven
Re: Comment out some code is there another way
March 03, 2009 04:45PM
Hi Hans,

You can "un-comment" code with Ctrl + Shift + /. This is also an option under the code editor, "Code" menu.

HTH-

Marc
Stefan Bentvelsen
Re: Comment out some code is there another way
March 03, 2009 04:45PM
Hi Hans,

you can use Ctrl-Shift-/ (/ from numeric path of keyboard).
Piet van Zanten
Re: Comment out some code is there another way
March 03, 2009 04:46PM
Hi Hans,

Ctrl-Shift / reverts the comments. If you want to temporary exclude procedures or windows then you can right-click in the project pane and check "exclude from current configuration".

Regards,
Piet
Hans60
Re: Comment out some code is there another way
March 03, 2009 06:59PM
Marc
Stefan
Piet

many thanks for all the helpful hints!

Hans
Al
Re: Comment out some code is there another way
March 03, 2009 09:09PM
Hello Hans

There is also the OnTestMode() command
This executes code only if you are running in developer mode

Regards
Al
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: