C++-Style Bracketing Comments

C++-style bracketing can be used to comment out extended segments of code or add lengthy comments. These comments begin with the two characters /* and end at the next */ (or end of file).

Example:

/* this is a long comment

blah blah

print "debug 1" -- code commented out

more comments

*/

You can also use this within a line to comment out a script fragment:

for i in 1 to 10 do ( /* messageBox "in loop"; */ frabulate i )

Note:

The /* and */ have to be adjacent characters. If you leave out the closing */ or make it * /, the rest of the file will be commented out.

See also

MAXScript Editor Commands

Source Code Layout

Source Code Layout and Continuation Lines