SetAttribute - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : HelpTools : Database : SetAttribute

HelpTools[Database]

  

SetAttribute

  

set attribute of a help database

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

SetAttribute( path, attribute, value )

Parameters

path

-

string; path to an existing help database

attribute

-

string or symbol; name of the attributes

value

-

string or symbol; value of the attributes

Description

• 

The SetAttribute command sets attribute to the specified value. New attribute is created if it did not exist.

Examples

withHelpTools:withDatabase:

Create help database in home folder that will be accessible after restart

dirFileTools:-JoinPathmaple,toolbox,UserHelp,lib,base=homedir

dirC:\Users\jsmith\maple\toolbox\UserHelp\lib

(1)

ifnotFileTools:-ExistsdirthenFileTools:-MakeDirectorydir,recurse=trueendif:

hdbCreatedir

C:\Users\jsmith\maple\toolbox\UserHelp\lib\maple.help

(2)

Make new help database readonly

SetAttributehdb,readonly,true

Compatibility

• 

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]