codification code happining in the back

I understand how to use the map function , but I dont understand how to use the header and the code section. The heade and the code section is always empty in the example. Do you have an example? I read the manual, went thru example, but still dont understand it. Where can you define the "list", "item","delimiter"? I did not find an example of a function.