Hello,
I'm quiete new to Gams studio on Mac , while a person I work with is on PC.
A statement like:
$include input_data/Services.txt
will work on Mac, but
$include input_data\Services.txt
is required on PC to run the code.
Is there a way to work around this and make a path specification for input or output data that is platform independent?
Thank you for letting me know.
Marc
Using slash/backslash in path specification with $include
Re: Using slash/backslash in path specification with $include
You can (and should) use like so:
Code: Select all
%system.dirsep%
Code: Select all
$include input_data%system.dirsep%Services.txt