Pop.Session is a subroutine that restores the current environment parameters saved by a preceding call to Push.Session.
Pop.Session(cursor.loc, sentence, record, id, dict, mv)
Use Pop.Session to restore an environment after use of Push.Session. The saved values are passed from the Push.Session argument list.
The Push.Session subroutine has the following parameters:
Parameter | Description |
---|---|
cursor.loc | Use cursor.loc to pass the cursor position saved by Push.Session. |
sentence | Use sentence to pass the TCL sentence saved by Push.Session. |
record | Use record to pass the record saved by Push.Session. |
id | Use id to pass record key saved by Push.Session. |
dict | Use dict to pass the dictionary variable saved by Push.Session. |
mv | Use mv to pass the array of @MV, @INSERT (see Appendix I, "System Variables"), and video attributes saved by Push.Session. |
None.
/* The following code demonstrates the use of Pop.Session */ Declare subroutine Push.Session, Pop.Session, Msg Push.Session(cursor, sentence, record, id, dict, mv) * Call a subroutine that modified the environment parameters. Gosub Change_Environ Pop.Session(cursor, sentence, record, id, dict, mv) |