Jump to content

API Debug.Print: Difference between revisions

From Flowcode Help
ReeceL (talk | contribs)
JonnyW (talk | contribs)
XML import
Line 1: Line 1:
<sidebar>API Contents</sidebar>
<sidebar>API Contents</sidebar>
Prints out the string or value on a line in the debug window
Prints out the string or value on a line in the debug window
Line 32: Line 30:
This example shows simple usage of both Print and PrintLn:
This example shows simple usage of both Print and PrintLn:


[[file:SIMAPI_Debug_Print.fcfx]]
{{Fcfile|SIMAPI_Debug_Print.fcfx|SIMAPI_Debug_Print}}

Revision as of 15:57, 16 January 2014

<sidebar>API Contents</sidebar> Prints out the string or value on a line in the debug window

Class hierarchy

Debug

Print

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.

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Debug.Print("output")

Example flowchart

This example shows simple usage of both Print and PrintLn:

SIMAPI_Debug_Print