Meta Project

The Unofficial Meta Documentation

WRITE

Summary

WRITE Write output to the console. What PRINT does in many other programming languages.

Category

GENERAL-IO

Usage

WRITE value

Arguments

value - A string or numerical value that can be output to the console

Refinements

/LINE - add a new line at the end of what is written

/ERROR - Writes a message to a (the) error object

/ERROR/LINE - Writes the message to the error and adds a NEW-LINE as well.

Description

WRITE Write output to the console. What PRINT does in many other programming languages.

WRITE is a convenience function, it is just an abbreviation for append system/ports/output

Example Code

WRITE "Variable x has the value " write/line x

Related

JOIN  

Back to the Meta Methods Reference index