[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cross-platform !PATH (was Cross-platform PWD)
- Subject: Cross-platform !PATH (was Cross-platform PWD)
- From: mallors(at)crazyhorse.msfc.nasa.gov (Robert S. Mallozzi)
- Date: 3 Jun 1998 18:31:27 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: http://www.msfc.nasa.gov/
- References: <356ED6CC.8D2620B7@sc.ehu.es> <MPG.fdce647de8322e89897c4@news.frii.com> <6l179a$poa$1@nnrp1.dejanews.com> <6l1mgs$fc0$1@news.lth.se> <3574714A.5BD@cdc.noaa.gov> <35748549.2688@cdc.noaa.gov> <MPG.fde55af2ecb4d879897c7@news.frii.com> <35758A5A.1721@cdc.noaa.gov>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:11151
In article <35758A5A.1721@cdc.noaa.gov>,
Andy Loughe <afl@cdc.noaa.gov> writes:
>
> Heretofore all my development has been on a Unix box,
> so I am now beginning to learn to write code that can
> run on multiple platforms. A new and fun challenge!
>
How about this one:
How does one expand !PATH in a platform independent
manner?
CD, CURRENT = currentDir
!PATH = EXPAND_PATH ('+' + currentDir) + delimiter + !PATH
"delimiter" is platform-dependent, but required :-(
-bob
--
Robert S. Mallozzi
http://cspar.uah.edu/~mallozzir/