unload2.gms : cannot unload different items to same gdx name

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : unload2.gms

$title cannot unload different items to same gdx name (UNLOAD2,SEQ=51)
variable x; parameter a;

a   = 2;
x.l = 1;

execute_unload 'gdx1' x a x=a

$if errorfree $goTo problem
$clearError
$terminate

$label problem
$error cannot unload differnt items to same gdx name