|
Joined: Aug 2003
Posts: 2
Bowl of petunias
|
OP
Bowl of petunias
Joined: Aug 2003
Posts: 2 |
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? P.S the alias is: /* /.msg x op $chan $1-
SteInMetz - The one and only
|
|
|
|
Joined: Jan 2003
Posts: 150
Vogon poet
|
Vogon poet
Joined: Jan 2003
Posts: 150 |
84.Can now use /* and */ to comment out multiple lines in an alias, popup, or script. Each be used alone on a single line.
Go ahead, jump. 100,000 lemmings can't be wrong.
|
|
|
|
Joined: Aug 2003
Posts: 2
Bowl of petunias
|
OP
Bowl of petunias
Joined: Aug 2003
Posts: 2 |
Damn that :P I loved the /* , because it was really fast.. well well, then /- it is
SteInMetz - The one and only
|
|
|
|
Joined: Apr 2003
Posts: 210
Fjord artisan
|
Fjord artisan
Joined: Apr 2003
Posts: 210 |
Hey i never noticed that, that's a good feature!
|
|
|
|
Joined: Jan 2003
Posts: 11
Pikka bird
|
Pikka bird
Joined: Jan 2003
Posts: 11 |
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).
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
In a way I do agree with you. ; on each line looks much neater too.
|
|
|
|
Joined: May 2003
Posts: 161
Vogon poet
|
Vogon poet
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:
|
|
|
|
Joined: Apr 2003
Posts: 210
Fjord artisan
|
Fjord artisan
Joined: Apr 2003
Posts: 210 |
Exactly and the new commenting system is great in concept and operation - there's nothing wrong with it!
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
but it is unnecessary (and currently broken). What is broken about it?
|
|
|
|
Joined: Apr 2003
Posts: 426
Fjord artisan
|
Fjord artisan
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.
-------- mIRC - fun for all the family (except grandma and grandpa)
|
|
|
|
Joined: Jan 2003
Posts: 11
Pikka bird
|
Pikka bird
Joined: Jan 2003
Posts: 11 |
Currently you cannot use /* and */ in the same line. Not that big of a deal, I guess, but still technically broken.
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
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.
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
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.
|
|
|
|
Joined: Dec 2002
Posts: 2,962
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,962 |
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).
Spelling mistakes, grammatical errors, and stupid comments are intentional.
|
|
|
|
|