Page 1 of 1

Writing results to Excel

Posted: Fri Nov 03, 2017 12:59 pm
by Job
I declared a set as IOZ(sec,secc) and sent the results of an analysis to it. The results display well on the screen but I get error 148 when I tried to create a file with this command
Parameter
result9(*,*) Results reporting
;
result9("IOZ") =IOZ;
Can any one help?

Re: Writing results to Excel

Posted: Fri Nov 03, 2017 8:46 pm
by cladelpino
Hi:

What do you want to accomplish ? Why not directly write the set IOZ to the file?

A parameter is intended to store a value mapped to each element of a set.

Good luck

Re: Writing results to Excel

Posted: Sat Nov 11, 2017 7:55 am
by Job
Okay, thanks. But I tried it without success. Eventually this worked:

Parameter
result9b(*,*) Results reporting
;

result9b(sec,secc) =IOZ(sec,secc);
i.e. passing the sets dimensions to each side.