company logo

CTX_Base :: Output - Process output request

The output function passes the request to the application context, when one is set. Otherwise, it calls the SystemIO for processing the output. The application context should overload the Output() function for providing application specific output functionality for messages.

Return value:  Success ( logical  )

Implementation details

logical CTX_Base  :: Output ( NString &cnstring, logical clear_opt, logical flush_opt=YES )
  • cnstring - String containing the text
  • clear_opt - Clear output area before displaying message

    The option must be set to true in order to clear the output area or console before displaying the message.

  • flush_opt - Flush data immediately after writing

    In order to write data to output area or console immediately after sending it, the option has to be set to true. When passing false, data is stored to an output area until the next flush request.

    Default: YES