User Tools

Site Tools


platform:quoting_in_gams

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
platform:quoting_in_gams [2015/07/29 11:04]
tlastusilta
— (current)
Line 1: Line 1:
-====== Quoting in GAMS ====== 
- 
-A file or directory path that includes space characters can be surrounded by double quotes in order for a operating system to handle the path reference correctly. A path reference can also be surrounded by single quotes on Linux, but not on Windows. To create operating system independent GAMS code, please consider the following recommendation. ​ 
- 
-If you need to quote a path, use double quotes, e.g. create a directory at compile time: 
- 
-<​code>​ 
-$call mkdir "my folder"​ 
-</​code>​ 
- 
-Furthermore,​ use single quotes for the outer quotation, and double quotes for the inner quotation, e.g. create a directory at execution time: 
- 
-<​code>​ 
-Execute 'mkdir "my folder"';​ 
-</​code>​ 
  
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY platform/quoting_in_gams.1438160675.txt.gz ยท Last modified: 2015/07/29 11:04 by tlastusilta