aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.72 - [d] Built-In

Mnemonic aid: d for Dictionary element

See also:  [dcopy] ,  [dict] ,  [dkeys]  and  [dset] 

This allows you to retrive one entry from a dictionary. If the notFound value is supplied, that will be returned if the value isn't in the dictionary. If it is not supplied, nothing will be returned. The default separator is the comma, which you can change with the (sep=X,) parameter:


[d (sep=X,)dictNameXkey(XnotFound)]

[dict mystuff,foo:bar,this:that,widget:wodget,she:he]
[d mystuff,this]
[d mystuff,hubba]
[d mystuff,hubba,booga]

that

booga
that booga

Other built-ins used here:  [dict] 

Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses Python 2.7