|AHELP for CIAO 4.2||
Change the current element of a stack.
Integer_Type stk_change_current( Stack_Type stack, String_Type newvalue )
This function changes the current entry 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.