no underflow, so removes the top record on stacks s and copies its contents into value

pvalue->info = (*ps)->info;

*ps = (*ps)->link;