Log in

View Full Version : Short Cut for commenting out section ?


poisondeathray
20th February 2012, 22:55
Is there an easy way in an avs script to comment out everything below a certain line, or a certain section, instead of having to comment out each line manually?

I'm looking for a "toggle switch" if you will , that can turn off/on a section easily

librarian
20th February 2012, 23:05
/*
comment begins
another comment
*/



code


__end__

comment, link and so on....

poisondeathray
21st February 2012, 00:46
awesome , thanks !

IanB
21st February 2012, 02:58
In addition ...

Block comments are not nestable. The following example borks./*
and more commented stuff
/*
comment begins
another comment
*/
/* and more commented stuff */
*/


Nestable Block comments are nestable. The following example works.[*
more commented stuff
[*
comment begins
another comment
*]
/* and more commented stuff */
*]