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
blade
Novice


Joined: 22 Jul 2002
Posts: 32
Location: USA

PostPosted: Thu Sep 04, 2003 6:36 am   

%read
 
Okay not sure how to ask all of this so here goes:

I have a file named Test.
What I want to be able to do is to read lines from the file and assign it to a variable.

For instance can I do this ?
#file 1 test.txt
testvar=%read(1,10)

Okay say this is possible then next thing i need to know is where do i need to put the test.txt file ? in the zMud folder ?

And if i can not do this....can it be done ?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Sep 04, 2003 1:08 pm   
 
Yes, it's possible. Yes, you have to put the file in the zMUD folder. It might be possible to put it inside another folder in the zMUD folder, but not outside of it.
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