Controlling Commenting

Another way of controlling output from a ChannelChannel is via the boolean (integer) CommentComment attribute, which controls whether comments are appended to describe the purpose of each value. Comment has the value 1 by default but, if set to zero, will suppress these comments. This is normally appropriate only if you wish to minimise the amount of output, for example:


\begin{terminalv}
astSet( channel, ''Full=-1, Comment=0'' );
nobj = astWrite( channel, skyframe );
\end{terminalv}

might result in the following more compact output:


\begin{terminalv}
Begin SkyFrame
Naxes = 2
Ax1 =
Begin SkyAxis
End SkyAxis
...
...is
IsA Frame
System = ''FK4-NO-E''
Epoch = 1958
End SkyFrame
\end{terminalv}