REBOL Document

Echo - Function Summary


Summary:

Copies console output to a file.

Usage:

echo target

Arguments:

target - The target argument. (must be: file none logic)

Description:

Write output to a file in addition to the user console. The previous contents of a file will be overwritten. The echo can be stopped with ECHO NONE or by starting another ECHO.


    echo %helloworld.txt
    print "Hello World!"
    echo none
    Hello World!

Related:

print - Outputs a value followed by a line break.
trace - Enables and disables evaluation tracing.


<Back | Index | Next>

Copyright 2004 REBOL Technologies