mIRC Home    About    Download    Register    News    Help

Print Thread
#45760 31/08/03 06:08 PM
Joined: Aug 2003
Posts: 2
S
Bowl of petunias
OP Offline
Bowl of petunias
S
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? smile

P.S the alias is: /* /.msg x op $chan $1-


SteInMetz - The one and only smile
#45761 31/08/03 06:10 PM
Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
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.
#45762 31/08/03 06:15 PM
Joined: Aug 2003
Posts: 2
S
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Aug 2003
Posts: 2
Damn that :P
I loved the /* , because it was really fast.. well well, then /- it is smile


SteInMetz - The one and only smile
#45763 31/08/03 06:20 PM
Joined: Apr 2003
Posts: 210
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
Hey i never noticed that, that's a good feature!

#45764 31/08/03 06:36 PM
Joined: Jan 2003
Posts: 11
B
Pikka bird
Offline
Pikka bird
B
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).

#45765 31/08/03 06:37 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
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
Joined: Apr 2003
Posts: 210
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
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
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
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
Fjord artisan
Offline
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)
#45770 01/09/03 01:36 AM
Joined: Jan 2003
Posts: 11
B
Pikka bird
Offline
Pikka bird
B
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. cool

#45771 01/09/03 01:42 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
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. smile

#45772 01/09/03 04:24 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
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.

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

Link Copied to Clipboard