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


Joined: 14 Dec 2002
Posts: 3

PostPosted: Sat Dec 14, 2002 8:07 pm   

#READ
 
I am tring to read line 3 from file D:test.txt. Help! I have tried using #READ D:test.txt (3) but without luck. I always executes the entire file.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Dec 14, 2002 8:57 pm   
 
#FILE 1 D:test.txt
#READ 1 3

Kjata
Reply with quote
mazir
Newbie


Joined: 14 Dec 2002
Posts: 3

PostPosted: Sat Dec 14, 2002 9:16 pm   
 
Tried that. My file looks like this:

#ECHO Line 1
#ECHO Line 2
#ECHO Line 3
I do get the echo saying that it opened test.txt as file 1 then when I try the #READ 1 3 nothing happens.
Reply with quote
mazir
Newbie


Joined: 14 Dec 2002
Posts: 3

PostPosted: Sat Dec 14, 2002 10:38 pm   
 
Fially figured it out. I had to put my test.txt file in zmud6.16 dir for it to open it correctly. Thanks for the info.
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