echo1.gms : Test that $echoN does not write a new line

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : echo1.gms

$title 'Test that $echoN does not write a new line'  (ECHO1,SEQ=206)

$echo * echo test  > temp.gms
$echo  set i /    >> temp.gms
$echo  one        >> temp.gms
$echo  two        >> temp.gms
$echo        /;   >> temp.gms
$echoN set j /    >> temp.gms
$echoN one        >> temp.gms
$echoN two        >> temp.gms
$echoN       /;   >> temp.gms
$echo abort$(card(i) = card(j)) 'echon does not work' >> temp.gms
$call =gams temp.gms lo=%GAMS.lo%
$if errorlevel 1 abort echon does not work