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
Aennor
Apprentice


Joined: 06 Dec 2001
Posts: 131
Location: USA

PostPosted: Fri Jan 18, 2002 8:36 pm   

Getting an error #write-ing a file
 
I'm pretty sure this is due to special characters in a variable I'm writing to a file... but unsure how to escape the whole line.

Here's the error:



I am creating it with the following script line:

#write @filenum "%1" 


What's the proper way to correct this?

TIA for any help.



--
Aennor the Paragon of Gratuitous Agony
Staff on WoTMUD
wotmud.org 2222
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Jan 19, 2002 12:22 am   
 
Try using #WRITE @filenum %quote("%1"). If you still get the parsing error throw up your hands, sigh loudly, make yourself a drink, and try not to get upset. I have been trying to track down a cause for a similar problem with the DOOR command and still havent figured out what makes it start.
Reply with quote
Aennor
Apprentice


Joined: 06 Dec 2001
Posts: 131
Location: USA

PostPosted: Sat Jan 19, 2002 12:33 am   
 
Snicker... fair enough. :P

I'll give it a shot later, thanks.



--
Aennor the Paragon of Gratuitous Agony
Staff on WoTMUD
wotmud.org 2222
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