DocumentTools
Retrieve
retrieve expression from document or worksheet file
Calling Sequence
Parameters
Description
Examples
Retrieve(filename, label)
filename
-
string ; filename for document to open
label
string ; label of expression to retrieve from document
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.
with⁡DocumentTools:
src≔FileTools:-JoinPath⁡example/BesselsEquation.mw,base=datadir
src≔/maple/cbat/active/268316/data/example/BesselsEquation.mw
Retrieve⁡src,L6
x2⁢ⅆ2ⅆx2y⁡x+x⁢ⅆⅆxy⁡x+−ν2+x2⁢y⁡x=0
See Also
Equation Numbering
Download Help Document