home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17502 < prev    next >
Encoding:
Text File  |  1992-12-20  |  1.4 KB  |  37 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!navajo!shulick
  3. From: shulick@navajo.ucs.indiana.edu (Sam Hulick)
  4. Subject: ReadArgs(): One last problem!!
  5. Message-ID: <BzFMtA.1vt@usenet.ucs.indiana.edu>
  6. Originator: shulick@navajo
  7. Sender: news@usenet.ucs.indiana.edu (USENET News System)
  8. Nntp-Posting-Host: navajo.ucs.indiana.edu
  9. Reply-To: shulick@navajo.ucs.indiana.edu
  10. Organization: Vallen Software
  11. Date: Fri, 18 Dec 1992 01:58:21 GMT
  12. Lines: 23
  13.  
  14.  
  15. Sorry for the all the posts, but our sysadmin hasn't gotten around to
  16. fixing trn.  (I can't cancel my articles)
  17.  
  18. Anyway, if I do this:
  19.  
  20.   rd = ReadArgs("Files/M/A .......
  21.  
  22. The 'files' are stored in rd->RDA_Buffer.  But how do I parse those out?
  23. Should I juse use some mathematical method like:
  24.  
  25. Well, screw it.. I was going to try to write a program to separate the
  26. files.  It would've worked, excep this rd->RDA_BufSiz seems to be
  27. limited to 128.  See, what if the user does 'prog fonts:*.font'
  28. (assuming they're using Csh5.19).  I want ReadArgs() to handle up to 300
  29. filenames.  The RDA_BufSiz is limiting this, though.. or so it seems.
  30. Anyway, if anyone could help out, thanks.
  31.  
  32. -- 
  33.     // Amiga 3000   ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
  34.    // 68030 25 MHz /__/\ \ My opinions wear combat boots.  Or whatever.
  35. \\// OS 2.04       \__\/ / "Walk!  Not bloody likely.  I am going in a
  36.  \/                     / taxi."  --George Bernard Shaw
  37.