|AHELP for CIAO 4.2||
Change the given element of a stack.
Integer_Type stk_change_num( Stack_Type stack, String_Type newvalue, Integer_Type N )
This function changes entry number N in the stack to the value given in the string newvalue. This string is simply replaced into the stack, and is not interpreted as a stack file, even if an @ sign is included. To merge two stacks, use the stk_append() function. If successful, this routine returns 0, and non-zero indicates failure.
See the bugs page for the stackio library on the CIAO website for an up-to-date listing of known bugs.