IsDefined - Maple Help

# Online Help

###### All Products    Maple    MapleSim

CodeGeneration[LanguageDefinition]

 IsDefined
 test if target language is defined

 Calling Sequence CodeGeneration[LanguageDefinition][IsDefined](lang)

Parameters

 lang - string; name of target language

Description

 • The IsDefined command returns true if the language lang has been defined for use by CodeGeneration, and false otherwise.
 • A language has been defined for use by CodeGeneration if it is one of the built-in languages provided with the package, or it has been added with Add or Define.

Examples

Test that the language C is ready for use by CodeGeneration.

 > $\mathrm{CodeGeneration}\left[\mathrm{LanguageDefinition}\right]\left[\mathrm{IsDefined}\right]\left("C"\right)$
 ${\mathrm{true}}$ (1)

 See Also