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