Re: how to run multiple program in one program?
Posted: Mon Dec 14, 2015 3:21 am
Hi Gareth,
Sorry I still can't get it to work.... I have read the documentation you sent and am writing the following:
The child program begins with the following line:
wfcreate {%filename1} d5 {%my_startdate_usd} {%my_enddate}
The master program has the following:
%my_startdate_usd = "31/07/2000"
%my_enddate= "11/12/2015"
%filename1= "C:\documents\test1\usd_" + %str +".wf1"
exec "C\documents\test1\usd_rw.prg" %filename1 %my_startdate_usd %my_enddate
wfsave %filename1
wfclose %filename1
It works with the run command but not exec…(in fact it worked before with the run command, which makes me think I am not actually doing anything different!). Please can you tell me what is wrong with the above, apologies I know I am asking you the same thing multiple times...I don't understand why the above doesn't constitute 'passing arguments'.
Sorry I still can't get it to work.... I have read the documentation you sent and am writing the following:
The child program begins with the following line:
wfcreate {%filename1} d5 {%my_startdate_usd} {%my_enddate}
The master program has the following:
%my_startdate_usd = "31/07/2000"
%my_enddate= "11/12/2015"
%filename1= "C:\documents\test1\usd_" + %str +".wf1"
exec "C\documents\test1\usd_rw.prg" %filename1 %my_startdate_usd %my_enddate
wfsave %filename1
wfclose %filename1
It works with the run command but not exec…(in fact it worked before with the run command, which makes me think I am not actually doing anything different!). Please can you tell me what is wrong with the above, apologies I know I am asking you the same thing multiple times...I don't understand why the above doesn't constitute 'passing arguments'.