home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!agate!stanford.edu!rock!concert!sas!mozart.unx.sas.com!jamie
- From: jamie@cdevil.unx.sas.com (James Cooper)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ReadArgs(): One last problem!!
- Message-ID: <BzGq5u.3z5@unx.sas.com>
- Date: 18 Dec 92 16:08:18 GMT
- References: <BzFMtA.1vt@usenet.ucs.indiana.edu>
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Organization: SAS Institute Inc.
- Lines: 33
- Originator: jamie@cdevil.unx.sas.com
- Nntp-Posting-Host: cdevil.unx.sas.com
-
-
- In article <BzFMtA.1vt@usenet.ucs.indiana.edu>, shulick@navajo.ucs.indiana.edu (Sam Hulick) writes:
- >
- >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.
-
- Do you have SAS/C 6.0? If so, look in the sc:examples/nostartup/Example_3 dir
- at the cat.c file. It handles the "/M" switch correctly.
-
- If you don't have 6.0, I could probably clip the ReadArgs code and post or
- EMail it...
-
- --
- ---------------
- Jim Cooper
- (jamie@unx.sas.com) bix: jcooper
-
- Any opinions expressed herein are mine (Mine, all mine! Ha, ha, ha!),
- and not necessarily those of my employer.
-