C5_#stdout

#stdout
 Send literal text to the standard output device
------------------------------------------------------------------------------
 Syntax

     #stdout [<messageText>]

 Arguments

     <messageText> is the text of the message to display.  <messageTest>
     is a literal character string.  Do not enclose the message in quotation
     marks unless you want them to appear as part of the display.

 Description

     #stdout causes the compiler to output the literal text to the standard
     output device (stdout) during compilation.  If <messageText> is not
     specified, a carriage return/line feed pair echoes to stdout.

     Warning!  Manifest constants are not translated in #stdout.
     Implementation is identical to #error with the following exceptions:
     output is written to STDOUT and no compiler error is generated.

 Examples

     This example demonstrates use of #stdout:

     #ifdef DEBUG
        #stdout Compiling debugging version...
     #endif

     PROCEDURE Main()

     ? "Hello world"
     RETURN

     #stdout End of "Hello World" program

See Also: #error

One response to “C5_#stdout

  1. Pingback: C5 Directives | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.