global X

function loadX()
 global X
 load fileX
end

X=1;
save fileX X

X=2;
load fileX
X

X=3;
loadX()
X

clear all
X
