Re: Files

From: Admin of The Keep (dkoepke@california.com)
Date: 10/09/96


On Wed, 9 Oct 1996 pstecker@netbox.com wrote:

> keep the player index intact (keep idnum, etc).  Is there a way to read in
> all the files from a directory?  I.e. some of the util programs uses
> argv[] to hold the filenames, but how do you do this from within the mud?
> My mud uses idnum in various locations of the mud, and so this is pretty
> important to keep.  Any suggestions/Help?  Thanks.

  I'm not sure what you mean?  The idnum is saved in the pfile, though.
  And argv[] holds the arguments passed to the program (essentially the
  command line) with argv[0] being the filename of the executable.


  <*=-+Daniel+-=*>
  "Forgive me father, for I am sin."


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST