# generate and save some data reset; set A = {"a1", "a2"}; set B = {"b1", "b2", "b3"}; param p {A,B} = Uniform(3,7); printf ("\nINITIAL DATA\n\n"); option display_1col 0, display_transpose -10; display A, B, p; table Aset OUT "amplxl" "ex1.xlsx": A -> [A]; table Bset OUT "amplxl" "ex1.xlsx": B -> [B]; table pvals OUT "amplxl" "ex1.xlsx": [A, B], p; load amplxl.dll; write table Aset; write table Bset; write table pvals; # load the data reset; set A; set B; param p {A,B}; table Aset IN "amplxl" "ex1.xlsx": A <- [A]; table Bset IN "amplxl" "ex1.xlsx": B <- [B]; table pvals IN "amplxl" "ex1.xlsx": [A, B], p; load amplxl.dll; read table Aset; read table Bset; read table pvals; printf ("LOADED DATA\n\n"); display A, B, p;