# file.write

Syntax

b = file.write(a<,l>)
file.write(<f>) = l

Write a list to a file.

If a file pointer is not provided, then writes to the last opened file.

If called on get, then a list must be provided as an argument (after any optional file pointer). All entries in that list are written to the file. btrue is returned.

If called on assignment, then the assignment value is assumed to be a list that is written to the file.

Returns: b - true l - A list to write to the file a - An optional file pointer indicating what file to write to. l - A list argument when called on get only that is written to the file.