Hi all and thanks to all who took the trouble to answer.
It seems that this ought to work for all platforms, yes?
# Stolen shamelessly from io.icn in the procs library
if find("MS", &features) then
slash := "\\"
else
slash := "/"
datadir := ("Data" || slash)
outdir := ("Output" || slash)
infile := open(datadir || flnm || ".txt") | stop("blah blah blah")
outfile := open((outdir || flnm || ".out"), "w") | ("blah blah blah")
It may not always be necessary but it should be safe. Does this make sense?
Cheers,
Jonathan
--
Jonathan Kaye
Sip Phone: [EMAIL PROTECTED]
Registered Linux user #445917 at http://counter.li.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group