list defined languages - Maple Help

Online Help

All Products    Maple    MapleSim


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

CodeGeneration[LanguageDefinition][ListLanguages] - list defined languages

Calling Sequence

CodeGeneration[LanguageDefinition][ListLanguages]()

Description

• 

The ListLanguages command lists the names of all languages which have been defined for use by CodeGeneration, including built-in languages.

• 

Once added with Add or Define, user-defined languages should appear in the list returned by ListLanguages.

Examples

Define a new language ListLanguagesExample with Define, and check that it now appears in the list of defined languages.

withCodeGeneration:

LanguageDefinitionListLanguages

C,CSharp,Fortran,IC,Java,JavaScript,KernelExtensionInternalUseOnly,Matlab,Perl,Python,R,VisualBasic,default

(1)

LanguageDefinitionDefineListLanguagesExample,extend=C,AddFunctionsin,anything::anything,sin,AddOperatorNames:-Assignment=:=:LanguageDefinitionListLanguages

C,CSharp,Fortran,IC,Java,JavaScript,KernelExtensionInternalUseOnly,ListLanguagesExample,Matlab,Perl,Python,R,VisualBasic,default

(2)

See Also

IsDefined, Language Definition Overview, LanguageDefinition


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