Code: Select all
display "%1";
Code: Select all
$batinclude myFunction.gms 20200625
$batinclude myFunction.gms 20200626
For example, how to write gams codes to take two parameters: a start_date of 20200601 and an end_date of 20200605, it will call myFunction.gms 5 times, and each time with a date such as below:
Code: Select all
$batinclude myFunction.gms 20200601
$batinclude myFunction.gms 20200602
$batinclude myFunction.gms 20200603
$batinclude myFunction.gms 20200604
$batinclude myFunction.gms 20200605