company logo

SystemClass :: Output - Write output to user area

The function writes the message passed in cstring to the user area (console or output area in a GUI application). In order to clear the output area before displaying the message, clear_opt should be set to true. When not being passed, false is assumed. In order to cache several output requests, flush_opt should be passed as false. Otherwise (default is true) the message is displayed immediately.

Return value:  Success ( logical  )

Implementation details

logical SystemClass  :: 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