VIEW

Purpose:

Display the contents of an SPL file.

Syntax:

VIEW("splfile")

VIEW splfile

"splfile"

-

A string, the name of the SPL file to display.

Example:

view("trapz")

 

displays the SPL file trapz.spl.

 

Example:

view trapz

 

Same as above accept VIEW is specified in command form.

Remarks:

VIEW is a quick way of inspecting the source code of an SPL file. DADiSP automatically searches all of the directories returned by the GETSPLPATH function to locate the SPL file.

 

VIEW can also display other files when an extension is provided, e.g.

 

view dadisp.cnf

 

See VIEWFILE to display a text file.

 

See VIEWHTML to display a web page.

See Also:

GETSPLPATH

VIEWFILE

VIEWHTML

VIEWPROP

VIEWTEXT

WHICH