unload6.gms : cannot $unLoad different items to same gdx name

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : unload6.gms

$title cannot $unLoad different items to same gdx name (UNLOAD6,SEQ=55)
variable x; parameter a;

a   = 2;
x.l = 1;

$gdxOut gdx1
$unLoad x a x=a

$if errorfree $goTo problem
$clearError
$terminate

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