## Purpose:

Reads an external SPL file into the Worksheet.

## Syntax:

"filename"

-

String. The filename of the SPL file. Function form.

overwrite

-

 Optional. An integer, replace macro flag. 0: do not replace macro of same name 1: replace macro if it exists (default)

## Command Syntax:

filename     -  The name of the external SPL file without quotes. Command form.

## Example:

reads the testdata.spl file from the splfiles subdirectory.

## Example:

Same as above but expressed in the easier to type command form.

## Remarks:

An SPL file is a simple ASCII text file you can create with any text editor. The file contains SPL functions which you can use in a Worksheet. Any errors detected during the read are written to an ASCII file, filename.err.

To automatically read in function files at start up time, include the filenames in the dadisp.spl file.

SPLREAD does not generate or read OPL files, see SPLLOAD.

The command form does not accept optional arguments.