HyperMath

Editor

Editor

Previous topic Next topic No expanding text in this topic  

Editor

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Opens a file in the editor.

Syntax

Editor(filename)

Argument

Name

Description

 

filename

A string: the name of the file that you want to open in the editor.

Example

Syntax

 

filename = which('randn'); // get the filename of randn function

Editor(filename) // opens randn script in the editor, see also 'edit' function

Editor('foo.hml') // it will propose to create and open foo.hml in your current directory

Comments

If the filename does not exist, the editor proposes to create a file with this name.

See Also:

edit