CodeGeneration[LanguageDefinition] - Maple Help

Home : Support : Online Help : Programming : Code Generation Package : Language Definition : CodeGeneration/LanguageDefinition/IsDefined

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}[\mathrm{LanguageDefinition}][\mathrm{IsDefined}]\left("C"\right)$
 ${\mathrm{true}}$ (1)