Display - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Worksheet

  

Display

  

display string as a worksheet in a new window

  

DisplayFile

  

display a worksheet in a new window

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Display( fileString )

DisplayFile( fileName )

Parameters

fileString

-

string; contain Maple worksheet or XML tree

fileName

-

string; name of file

Description

• 

The Display function or programmatic worksheet launch feature enables worksheet navigation from within a procedure.

• 

Important: The Display function cannot be used in the Command-line version of Maple.

• 

The Display(fileString) function accepts a Maple worksheet as a text string in either native or XML format, or as an XML tree, and displays (opens) the worksheet in the GUI. The value NULL is returned.

• 

The DisplayFile(fileName) command accepts the name of a worksheet file, saved either in native or XML format, and displays (opens) the worksheet in the GUI. If the name fileName of the file ends with the substring .xml, the file is taken to be a Maple worksheet saved in XML format. Otherwise, the file is assumed to be a Maple worksheet saved in native format. The value NULL is returned. Note: When writing a program, consider using the FileDialog or GetFile Maplet application to obtain the filename and path for the worksheet you want to launch programmatically.

• 

The name of the worksheet has the form ``display[N]'', where `N' is an integer. You can change the name of the worksheet by saving it.

Examples

withWorksheet:

DisplayFiletext.mws

mwsReadFiletest.mws

Displaymws

mws_xmlXMLTools:-ReadFiletest.xml

Displaymws_xml

DisplayXMLTools:-ToStringmws_xml

See Also

filenames

Worksheet

XMLTools