A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

JavaScript Question.

1.1k views · started by Personoid ·
#1
JavaScript Question.
I'm curious as to what the following does:

/** Stuff here **/



It would appear to be a regular comment, but SciTE highlights strings beginning with @ up to the first space in a different color.

Google is useless for this since Google ignores the characters.
#2
Block commenting.
// One line Comment

/* Multiple line comments
Same as AU3s #cs #ce
*/
#3
Lain wrote:
Block commenting.
// One line Comment

/* Multiple line comments
Same as AU3s #cs #ce
*/

It's different than that.
It isn't highlighted the same as a normal block comment.

/* @whatever whatever whatever */

That's highlighted as your typical block comment, but
/** @whatever whatever whatever **/

is highlighted a different color and the @whatever has a different color than the other words in the comment.

depths suggested that it was just a reference character, but also said to check.

Open SciTE/Notepad++ and see what I mean.
I have no idea why it's like that.