Arbortext Command Language > Using the Arbortext Command Language > Example of Named Paste Buffers
  
Example of Named Paste Buffers
Suppose you have a Arbortext Editor document that contains a list of unsorted addresses and you want to create two new separate sections—one for people in Maine and the other for people in Wisconsin. You could create two simple keymappings to help you with your task. The first keymapping, F5, would delete the highlighted address and add it to a paste buffer containing the addresses of people who live in Maine (ME). The second, F6 would add them to a buffer for people who live in Wisconsin (WI):
map f5 {delete_mark -append ME}
map f6 {delete_mark -append WI}
After you go through the mailing list collecting the addresses for Maine and Wisconsin, paste in the sorted address lists by entering at the command line:
paste ME
and
paste WI