processes a record
process(listname,recordpointer,