Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting feature

Mike Westerburg
Who, What, Where?
Join date: 2 May 2004
Posts: 317
08-13-2007 13:20
This is in no way a big feature, but yet I would like to have something similar. Sorry if this has been posted before, but it was fresh on my mind and I would have forgotten about it had I took the time to search for it. ( I suffer the but first syndrome)

I would like to have the ability to designate comments in a script without having to enter a // before each line after a carriage return. I presently like to have spaces between lines to help me read and to break up my comments as I put many dev notes at the top of a script I am developing, things like com channel "standards" for the build, link message formatting I use throughout.

Typically I use this type of setup:

//Begin Notes

//Link messages used .....

//Comm channels used.....

//other dev junk ....

//End Notes

I would love to see a setup that can work like the HTML tags

[/begin notes]

insert all notes here, regardless of characters , spaces and carriage returns. Modify it at will, add a carriage return without having to plop // before I type. I do hate working on adding notes for myself, click save then get a syntax error because I had a line that was like this:
/ note note note

[/end notes]

yeah, I know it is a minor thing but still, it is annoying.
_____________________
"Life throws you a lemon, you make lemonade and then plant the seeds"
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
08-13-2007 13:44
I definitely agree! It'd be very nice to be able to comment out large blocks of code.

/* This is how you do it with C
I dunno why we can't do it with LSL... */