Worksheet/RemoveSection - Maple Help

Worksheet

 RemoveSection
 remove all sections from a Maple document

 Calling Sequence RemoveSection( target ) RemoveSection( target , destination )

Parameters

 target - string; name of file to read in .mw format destination - sting; name of file to write in .mw format

Description

 • The command RemoveSection removes all the sections from a Maple document in .mw format.
 • If the second argument destination is omitted then the target file without sections is opened in the Maple GUI. Otherwise, the target file is written without sections to the destination file in .mw format.

Examples

 > $\mathrm{file}≔\mathrm{cat}\left(\mathrm{kernelopts}\left(\mathrm{datadir}\right),"/help/Worksheet/SimpleSectionDocument.mw"\right):$
 > $\mathrm{Worksheet}:-\mathrm{RemoveSection}\left(\mathrm{file}\right):$

Compatibility

 • The Worksheet:-RemoveSection command was introduced in Maple 2020.