Worksheet
Display
display string as a worksheet in a new window
DisplayFile
display a worksheet in a new window
Calling Sequence
Parameters
Description
Examples
Display( fileString )
DisplayFile( fileName )
fileString
-
string; contain Maple worksheet or XML tree
fileName
string; name of file
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.
with⁡Worksheet:
DisplayFile⁡text.mws
mws≔ReadFile⁡test.mws
Display⁡mws
mws_xml≔XMLTools:-ReadFile⁡test.xml
Display⁡mws_xml
Display⁡XMLTools:-ToString⁡mws_xml
See Also
filenames
XMLTools
Download Help Document