Jump to content

API Debug.Print

From Flowcode Help
Revision as of 11:42, 16 January 2023 by Wiki bot (talk | contribs)
Print
Prints out the string or value on a line in the debug window 
- STRING Output
Text to display 
- NONE Return


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