test if target language is defined - Maple Help

Online Help

All Products    Maple    MapleSim


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.

CodeGeneration[LanguageDefinition]IsDefinedC

true

(1)

See Also

Add, Define, LanguageDefinition, ListLanguages


Download Help Document

Copyright © MathResources Inc. All Rights Reserved.

www.mathresources.com

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam