mIRC Home    About    Download    Register    News    Help

Print Thread
#45760 31/08/03 06:08 PM
S
SteInMetz
SteInMetz
S
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-

#45761 31/08/03 06:10 PM
Joined: Jan 2003
Posts: 149
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 149
84.Can now use /* and */ to comment out multiple lines in an alias,
popup, or script. Each be used alone on a single line.

#45762 31/08/03 06:15 PM
S
SteInMetz
SteInMetz
S
Damn that :P
I loved the /* , because it was really fast.. well well, then /- it is smile

#45763 31/08/03 06:20 PM
S
saxon
saxon
S
Hey i never noticed that, that's a good feature!

#45764 31/08/03 06:36 PM
B
bigboss
bigboss
B
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).

#45765 31/08/03 06:37 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
In a way I do agree with you. ; on each line looks much neater too.

#45766 31/08/03 06:39 PM
Joined: May 2003
Posts: 161
A
Vogon poet
Offline
Vogon poet
A
Joined: May 2003
Posts: 161
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-


#45767 31/08/03 06:52 PM
S
saxon
saxon
S
Exactly and the new commenting system is great in concept and operation - there's nothing wrong with it!

#45768 31/08/03 11:24 PM
I
Iori
Iori
I
Quote:
but it is unnecessary (and currently broken).

What is broken about it?

#45769 01/09/03 01:29 AM
Joined: Apr 2003
Posts: 426
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
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.

#45770 01/09/03 01:36 AM
B
bigboss
bigboss
B
Currently you cannot use /* and */ in the same line. Not that big of a deal, I guess, but still technically broken. cool

#45771 01/09/03 01:42 AM
I
Iori
Iori
I
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

#45772 01/09/03 04:24 PM
C
codemastr
codemastr
C
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.

#45773 01/09/03 06:17 PM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
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).


Link Copied to Clipboard