mIRC Homepage
Posted By: SteInMetz /* In aliases? - 31/08/03 06:08 PM
Hey, I have used an /* alias for a long time now..
But with 6.1 it doesnt work, and all aliases below that point doesnt either work..
Should it be that way, or is it a bug? smile

P.S the alias is: /* /.msg x op $chan $1-
Posted By: J0ke Re: /* In aliases? - 31/08/03 06:10 PM
84.Can now use /* and */ to comment out multiple lines in an alias,
popup, or script. Each be used alone on a single line.
Posted By: SteInMetz Re: /* In aliases? - 31/08/03 06:15 PM
Damn that :P
I loved the /* , because it was really fast.. well well, then /- it is smile
Posted By: saxon Re: /* In aliases? - 31/08/03 06:20 PM
Hey i never noticed that, that's a good feature!
Posted By: bigboss Re: /* In aliases? - 31/08/03 06:36 PM
I firmly believe that the addition of this commenting style is only going to cause more harm than good. I understand the intention of it, but it is unnecessary (and currently broken).
Posted By: Watchdog Re: /* In aliases? - 31/08/03 06:37 PM
In a way I do agree with you. ; on each line looks much neater too.
Posted By: Ashkrynt Re: /* In aliases? - 31/08/03 06:39 PM
You don't need to put slashes in aliases, so you can still keep your /* alias if you remove it:
Code:
* .msg x op $chan $1-

Posted By: saxon Re: /* In aliases? - 31/08/03 06:52 PM
Exactly and the new commenting system is great in concept and operation - there's nothing wrong with it!
Posted By: Iori Re: /* In aliases? - 31/08/03 11:24 PM
Quote:
but it is unnecessary (and currently broken).

What is broken about it?
Posted By: neophyte Re: /* In aliases? - 01/09/03 01:29 AM
Whats broken? And I'm quite sure you enjoy sitting there commenting out extremely long lines of code.

; is handy for short commenting trips, but /* and */ are very handy when you have a very large bracket of code you want to comment out.

And you don't have to use it if you don't like it.
Posted By: bigboss Re: /* In aliases? - 01/09/03 01:36 AM
Currently you cannot use /* and */ in the same line. Not that big of a deal, I guess, but still technically broken. cool
Posted By: Iori Re: /* In aliases? - 01/09/03 01:42 AM
84.Can now use /* and */ to comment out multiple lines in an alias,
popup, or script. Each (Ed: probably "should") be used alone on a single line.

It isn't for single lines, use a semi-colon for those, so it isn't broken. smile
Posted By: codemastr Re: /* In aliases? - 01/09/03 04:24 PM
Well then mIRC doesn't work like any other language in existence, because /* */ CAN span multiple lines it doesn't have to. And I'm not just talking about in one language, I'm talking about in every language that uses /* */ comments.
Posted By: starbucks_mafia Re: /* In aliases? - 01/09/03 06:17 PM
Yes, but it's presumably much faster for mIRC to parse comments if it requires that the closing */ is at the start of a line. mIRC also requires that single-line comments start on a single line, even though in most languages you can start a comment anywhere (although the lack of quoted strings is also another reason for that).
© mIRC Discussion Forums