Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!seismo!esosun!smithey From: smithey@esosun.UUCP (Brian Smithey) Newsgroups: comp.sys.amiga.programmer Subject: SAS/C -dSYMBOL="string" help Message-ID: <679@esosun.UUCP> Date: 1 Apr 91 16:02:28 GMT Reply-To: smithey@esosun.css.gov.UUCP (Brian Smithey) Organization: Science Applications International Corp., San Diego Lines: 22 Ran into a problem trying to move some code from Unix to my Amiga. The Unix code is defining a string (filename, actually) on the command line like this: cc -DSOMESYMBOL -DFILE=\"filename\" yow.c I'm trying to do this with SAS/C 5.10a (both directly at the shell and via lmk, Lattice make), and can't get the double-quotes escaped. I've skimmed both the AmigaDOS manual and the SAS C docs and haven't found anything that works. I'd appreciate the answer, but even more I'd like a pointer to where this is documented. Oh yeah, I'm using lower-case -d (-dFILE=...) in lc, as documented. Thanks, Brian -- Brian Smithey / SAIC, Geophysics Division / San Diego CA uucp: uunet!seismo!esosun!smithey Internet: smithey@esosun.css.gov