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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
The Raven
Magician


Joined: 13 Oct 2000
Posts: 463

PostPosted: Fri Nov 17, 2006 1:56 am   

Disallow Pipe for separating Classes
 
Since your syntax is all set for / characters, you should disallow the | character in separating classes. It'd also be spiffy if the section of the parser that determines what class is being referred to saw | and warned the user they are illegal.

I've been using pipes all this time, and it was only when I researched how to refer to other modules that I found your post describing the //Module/Class/Path syntax. Pipes don't work there, though they do if you're referring to a Class|In|The|Current|Module. It's possible many of my scripting problems have been related to bugs using pipes.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 20, 2006 3:20 pm   
 
The pipes are allowed when importing zMUD settings, and in the ClassName argument of some commands (like #ALIAS, etc). So, these are not actually handled by the "parser". They are handled by each individual command that parses their ClassName argument. But I'll look into this and see what I can do.

Unfortunately, the Compatibility Report is a simple set of regular expression tests...it doesn't actually understand the full parser syntax, so it would be hard to flag this without flagging most any other string list in your scripts.
Reply with quote
The Raven
Magician


Joined: 13 Oct 2000
Posts: 463

PostPosted: Mon Nov 20, 2006 5:18 pm   
 
Perhaps pipes in classpaths could be enabled only when the 'compatibility mode' checkbox is on?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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