Retrieve expression from document or worksheet file - Maple Help

Online Help

All Products    Maple    MapleSim


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

DocumentTools[Retrieve] - Retrieve expression from document or worksheet file

Calling Sequence

Retrieve(filename, label)

Parameters

filename

-

string ; filename for document to open

label

-

string ; label of expression to retrieve from document

Description

• 

The Retrieve command scans a document file for the given label and returns the corresponding expression.

• 

If filename is not an absolute filename, the setting of currentdir determines what directory to search.

• 

label is an internal label for the expression in the document and does not correspond to equation numbers.

• 

In order to create a such a reference, use Insert>Reference in the Standard Worksheet Interface. This will allow you to look up an expression based on its equation number and automatically generate the internal label.

Examples

withDocumentTools:

src:=FileTools:-JoinPathexample/BesselsEquation.mw,base=datadir

src:=/usr/local/repository/build/maple/slot1/data/example/BesselsEquation.mw

(1)

Retrievesrc,L6

x2ⅆⅆxⅆⅆxyx+xⅆⅆxyx+ν2+x2yx=0

(2)

See Also

DocumentTools, Equation Numbering


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam