mIRC Home    About    Download    Register    News    Help

Print Thread
disable multiple lines #189594 09/11/07 11:14 AM
Joined: Feb 2006
Posts: 307
N
nataliad Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
hello

putting ; at the begining of a line in the remote, it disables this line

how do I disable a whole block?

thanks

Re: disable multiple lines [Re: nataliad] #189595 09/11/07 12:22 PM
Joined: May 2007
Posts: 89
T
TropNul Offline
Babel fish
Offline
Babel fish
T
Joined: May 2007
Posts: 89
; this is a one-lined comment

/*
This is
a multi-lined comment
*/

smile


tropnul
Re: disable multiple lines [Re: TropNul] #189628 09/11/07 09:30 PM
Joined: Dec 2002
Posts: 503
B
Bekar Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Note: Be aware that the /* and the */ *MUST* be at the beginning of a line to work properly.

Re: disable multiple lines [Re: Bekar] #189640 10/11/07 02:19 AM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Originally Posted By: Bekar
Note: Be aware that the /* and the */ *MUST* be at the beginning of a line to work properly.
As does the semi-colon wink

Additionally, you can use "REM" for single lines
//echo -ag start | rem this is a comment | echo -ag end