encode a procedure name for use with the CodeTools package - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : CodeTools : CodeTools/EncodeName

CodeTools[EncodeName] - encode a procedure name for use with the CodeTools package

Calling Sequence

EncodeName(name)

Parameters

name

-

procedure name

Description

• 

The EncodeName(name) command accepts a name and encodes it into a form that can be used with the CodeTools package.

• 

A name encoded with EncodeName can be recovered using DecodeName function.

• 

Encoding and decoding names is generally only required if you want to interact with the data used in the CodeTools subpackages directly.  If the provided functions are sufficient for your purposes, you may not need to use the DecodeName and EncodeName functions.

Examples

CodeTools[EncodeName]'int'

_Inert_ASSIGNEDLOCALNAMEModuleApply,PROC,0,_Inert_ATTRIBUTE_Inert_EXPSEQ_Inert_EQUATION_Inert_NAMEmodulename,_Inert_ASSIGNEDNAMEint,MODULE,_Inert_ATTRIBUTE_Inert_EXPSEQ_Inert_NAMEprotected,_Inert_ATTRIBUTE_Inert_NAMEprotected,_Inert_NAME_syslib

(1)

a:=CodeTools[EncodeName]'CodeTools[EncodeName]'

a:=_Inert_TABLEREF_Inert_ASSIGNEDNAMECodeTools,MODULE,_Inert_ATTRIBUTE_Inert_EXPSEQ_Inert_NAMEprotected,_Inert_ATTRIBUTE_Inert_NAMEprotected,_Inert_NAME_syslib,_Inert_EXPSEQ_Inert_NAMEEncodeName

(2)

CodeTools[DecodeName]a

CodeTools:-EncodeName

(3)

See Also

CodeTools, CodeTools[DecodeName], CodeTools[Profiling], CodeTools[Profiling][Build], CodeTools[Profiling][GetProfileTable], CodeTools[Profiling][Remove], CodeTools[Profiling][Select]


Download Help Document

Was this information helpful?



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