now only a simple variable must be inserted
(*ps).stackarray[(*ps).top] = value;