HelpTools[Database]
SetAttribute
set attribute of a help database
Calling Sequence
Parameters
Description
Examples
Compatibility
SetAttribute( path, attribute, value )
path
-
string; path to an existing help database
attribute
string or symbol; name of the attributes
value
string or symbol; value of the attributes
The SetAttribute command sets attribute to the specified value. New attribute is created if it did not exist.
with⁡HelpTools:with⁡Database:
Create help database in home folder that will be accessible after restart
dir≔FileTools:-JoinPath⁡maple,toolbox,UserHelp,lib,base=homedir
dir≔C:\Users\jsmith\maple\toolbox\UserHelp\lib
ifnotFileTools:-Exists⁡dirthenFileTools:-MakeDirectory⁡dir,recurse=trueendif:
hdb≔Create⁡dir
C:\Users\jsmith\maple\toolbox\UserHelp\lib\maple.help
Make new help database readonly
SetAttribute⁡hdb,readonly,true
The HelpTools[Database][SetAttribute] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
HelpTools[Database][GetAttribute]
HelpTools[Database][GetAttributes]
Download Help Document