no underflow, so copies the top record's contents into value and updates top to reflect its removal

(*pvalue).info = (*ps).stackarray

[(*ps).top].info;

(*ps).top = (*ps).top - 1;