Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
sp000n
Novice


Joined: 04 Jul 2001
Posts: 32

PostPosted: Wed May 29, 2002 5:06 am   

Commenting?
 
I can't find a way to comment out code in my scripts? Is this even provided for?
Reply with quote
Rowene
Beginner


Joined: 11 Jan 2002
Posts: 27
Location: United Kingdom

PostPosted: Wed May 29, 2002 9:07 am   
 
Try adding a semi colon in front of the line you wish to comment out.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed May 29, 2002 4:35 pm   
 
I can't find it anywhere in the helpfiles, so this is from personal knowledge.

Use a ; (semi-colon) at the beginning of the line to make the whole line a comment.
Use // (double-slash) anywhere else to make the remainder of the line a comment.

These are both in the Script Parser preferences and must be checked if you plan to use them.

LightBulb
Vague questions get vague answers
Reply with quote
sp000n
Novice


Joined: 04 Jul 2001
Posts: 32

PostPosted: Wed May 29, 2002 10:10 pm   
 
Excellent. Thanks both of you :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net