How to see the output results

proc distribution10;

/* Compute quantiles of duration distribution. Needed for grid-search procedure TACD */

local distrib,x;
distrib= ones(9,1);

................
_cml_alpha=1;
x=cmlblimits(XI);
distrib[5,1]=x[1];

retp(distrib);
endp;

1 Answer



0



If your code defines a procedure and uses it, you can simply print out the results to the program input/output window with the print command like this:

//Call procedure and save result in 'h'
h = hypotenuse(3, 4);

//Print value of 'h' to program input/output window
print h;

//Define 'hypotenuse' procedure
proc (1) = hypotenuse(a, b);
   c = sqrt(a.^2 + b.^2);
   retp(c);
endp;

aptech

1,773

Your Answer

1 Answer

0

If your code defines a procedure and uses it, you can simply print out the results to the program input/output window with the print command like this:

//Call procedure and save result in 'h'
h = hypotenuse(3, 4);

//Print value of 'h' to program input/output window
print h;

//Define 'hypotenuse' procedure
proc (1) = hypotenuse(a, b);
   c = sqrt(a.^2 + b.^2);
   retp(c);
endp;

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.