ConsolePrint



Release:

4.6  •  5.0  •  5.1  •  5.2  •  5.3  •  5.4  •  6.0  •  6.1  •  6.2  •  6.3  •  6.4  •  6.5


New to Analytica 5.3

ConsolePrint( message  : ... )

Prints «message» to the Typescript Window. Returns «message».

This function can be useful during debugging when inserting a MsgBox would require your input too many times. You can instead log info to the typescript console without requiring user input.

Because it returns its parameter, it is convenient to just insert it around an intermediate value expression when you want to see that expression.

(New to Analytica 6.0) You can also print multiple items (of different dimensionalities) as separate parameters, such as:

ConsolePrint( 'A=', A, ', B=', B )

which works without combining the indexes of A and B.


To view the Typescript Window, press F12.

Return value

When only a single message value is provided, the value passed in is returned as the result value. When more than one message value is provided, the return value is the text printed to the typescript window.


See Also

Comments


You are not allowed to post comments.