DocumentTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Document Tools : DocumentTools/CreateTask

DocumentTools

  

CreateTask

  

Create a task from a worksheet and store in a Maple help database

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

CreateTask(content, task=t, hdb=h)

Parameters

content

-

{string, XML tree} ; string or XML tree structure containing a valid XML description of a task template

t

-

string ; name of the task

h

-

string ; (optional) path to the help database file in which to store the task (default: your default tasks.help file)

Description

• 

The CreateTask function creates a task from worksheet content and stores it in a help database file.

• 

The task content should be the XML for a complete worksheet.  This can be obtained, for example, with the command FileTools[Text][ReadFile]( "worksheetname.mw" ), where "worksheetname.mw" is the path to a stored Maple worksheet.

• 

The h option, which specifies the path to the help database in which to store the task, can be fully qualified or relative to currentdir.

• 

For information regarding the specification of filename and pathname, see filename and backslash.

Examples

withDocumentTools:

CreateTaskstring of XML of worksheet,task=my task

Compatibility

• 

The DocumentTools[CreateTask] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

About Help Databases

DocumentTools

DocumentTools[InsertTask]

DocumentTools[RemoveTask]