User Tools

Site Tools


interfaces:how_can_i_split_the_input_line_for_gdxxrw_over_several_lines

Differences

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

Link to this comparison view

interfaces:how_can_i_split_the_input_line_for_gdxxrw_over_several_lines [2007/04/04 12:07] (current)
Line 1: Line 1:
 +====== How can I split the input line for gdxxrw over several lines? ======
  
 +Q: //My line of code below is very long. How can I split it over 2 or 3 lines?// ​
 +    Execute '​GDXXRW.EXE i = "​D:​\GSOP\im\xplan\GSOP_Data_200604w.gdx"​ o = "​D:​\GSOP\im\xplan\GSOP_Data_200604w.xls"​ par=surplus Rng=w_surplus!a1';​
 +
 +You can create an input file for GDXXRW to be processed,
 +for example:
 +<​code>​
 +* this happens during compilation
 +$onecho > task.txt
 +epsout=0.0
 +par=par1 cdim=1 rdim=2 rng=sheet1!a1
 +par=par2 cdim=2 rdim=2 rng=sheet2!a1
 +$offecho
 +
 +execute gdxxrw.exe mydata.gdx o=xx.xls @task.txt
 +</​code>​
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY interfaces/how_can_i_split_the_input_line_for_gdxxrw_over_several_lines.txt ยท Last modified: 2007/04/04 12:07 (external edit)