Used with the write to file command to designate the standard output.
# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
stdout
# Examples
write field 3 to stdout
# Description
Use the stdout keyword to write data to the standard output , usually the screen or console window.
On Unix systems, output from a program is normally written to the screen, but can be redirected to go to another device, process, or file. This redirection is done on the command line when the program is started up.
On a server in CGI mode, writing to stdout for the first time triggers any headers to be generated.
When you use the write to file command with the stdout keyword, LiveCode writes data to the standard output.
>*Note:* On OS X, the standard output is the Console > window, not the Terminal window.
Support for using stdout on Server was added in version 4.6.3.
# Tags
# See
- **command:** write to process, write to file - **glossary:** standard output, keyword, command, OS X - **keyword:** stdin, stderr