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
mud_bucket
Newbie


Joined: 02 Sep 2005
Posts: 1

PostPosted: Fri Sep 02, 2005 1:33 am   

remarks in scripts
 
Can someone tell me if you can put remarks in scripts so you can comment things out?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Sep 02, 2005 2:07 am   
 
You can. Use // for entire-line or end-of-line comments, but it cannot be used within a code block (at all). I seem to recall that the semi-colon used to be used for this and the double-slash was used for end-of-line comments, but apparently that wasn't tenable or else I'm remembering wrong. If you must put in a comment within a code-block, from what I can tell it looks like you will need to use #NOOP.
_________________
EDIT: I didn't like my old signature
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Fri Sep 02, 2005 2:08 am   
 
I know you can use ";" at the beggining of a line to comment, but I'm not sure bout commenting at the ends of lines.
*edit* Woops 2 late ^^
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