decode an encoded procedure name for use with the CodeTools package - Maple Help

Online Help

All Products    Maple    MapleSim


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

CodeTools[DecodeName] - decode an encoded procedure name for use with the CodeTools package

Calling Sequence

DecodeName(e, opts)

Parameters

e

-

name encoded using the CodeTools[EncodeName] command

opts

-

equation(s) of the form output=value where value is one of string or name; specify the type of output

Description

• 

The DecodeName(e) command decodes e into a procedure name.

• 

If you specify the optional argument output = string, the decoded name returns as a string.  The string represents the fully qualified version of the specified name.

• 

Encoded names can be created using CodeTools[EncodeName] function. They also occur occasionally in data returned from CodeTools functions.

• 

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

a:=CodeTools[EncodeName]'solve'

a:=_Inert_ASSIGNEDNAMEsolve,PROC,_Inert_ATTRIBUTE_Inert_EXPSEQ_Inert_NAMEprotected,_Inert_ATTRIBUTE_Inert_NAMEprotected,_Inert_NAME_syslib

(1)

CodeTools[DecodeName]a

solve

(2)

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

CodeTools[DecodeName]a

CodeTools:-DecodeName

(3)

CodeTools[DecodeName]a,'output'='string'

CodeTools:-DecodeName

(4)

See Also

CodeTools, CodeTools[EncodeName], 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