API Debug.PrintLn: Difference between revisions
Appearance
XML Import to change Variable types into Variable Types |
XML import of API documentation |
||
| Line 1: | Line 1: | ||
<sidebar>API | |||
<sidebar>API Contents</sidebar> | |||
Prints out the string or value with a new-line in the debug window | Prints out the string or value with a new-line in the debug window | ||
Revision as of 14:27, 9 August 2013
<sidebar>API Contents</sidebar>
Prints out the string or value with a new-line in the debug window
Parameters
STRING Output
- Text to display
Return value
This call does not return a value
Detailed description
This is a debug diagnostic call to allow text to easily be outputted during events to trace what a program is doing.
During an event, breakpoints can not be used. Calls like this help establish if a flowcharts logic is sound.
Unlike Print, the PrintLn will automatically add a new-line after the text is printed. This is useful for more compact flowcharts.
Examples
Calling in a calculation
- Add to a calculation icon:
::Debug.PrintLn("output")
Example flowchart
This example shows simple usage of both Print and PrintLn: