pop command to retrieve a previously-stored context of bindings and selected objects from the top of the context stack. This command replaces the current ADEdit context with the retrieved context. Popping a context from the context stack removes the context from the stack.
This command is useful for Tcl scripts that use subroutines. A push can save the context before it’s altered in the subroutine; a pop can return the saved context when the subroutine returns.
This command takes no options.
This command takes no arguments.
This command returns nothing if it runs successfully. If the stack is empty, it returns a message stating so.
This example retrieves the context from the top of the context stack and uses it as the current ADEdit context.
The following commands perform actions related to this command: