Display contents of control variable
Posted: Mon Oct 27, 2014 7:35 pm
Hi...very basic question :(
How do I output a variable's contents. What I mean is, if a series is the output then a series object gets created. But what about a scalar ?
%b = "mom"
%a = "hi" + %b
I get on the status line %a computed.
Likewise, if I calculate !ans = @corr(x,y)
How do I see the output of a variable ?
if I have say FOR loop in my program I would like to see the value of the control variable each time. In a programming language I would say something like printf(i) to know what is the value. How would I do the same here. Should i use logmode ? Is there any other way to do this ?
How do I output a variable's contents. What I mean is, if a series is the output then a series object gets created. But what about a scalar ?
%b = "mom"
%a = "hi" + %b
I get on the status line %a computed.
Likewise, if I calculate !ans = @corr(x,y)
How do I see the output of a variable ?
if I have say FOR loop in my program I would like to see the value of the control variable each time. In a programming language I would say something like printf(i) to know what is the value. How would I do the same here. Should i use logmode ? Is there any other way to do this ?