open Command

Purpose:

Returns a file handle to a new or existing file.

Syntax:

open(filename)

Comments:

if filename does not exist, a new file is created.

Example:

han = open("test.dat")

p han,"line 1"

p han,"line 2"

close han