Save your Q/Kdb+ workspace on exit, restore on start
Find a file
2015-07-25 21:25:24 -04:00
persist-state.q doc updates 2015-07-25 21:25:24 -04:00
README.md doc updates 2015-07-25 21:25:24 -04:00

persist-state.q

Tiny snippet of code to save the state of your q session when you exit, and restore it when you start again.

State is stored in lastsess.qdb

The code is just three lines. Read it!

Usage

Add this to ~/q/q.q:

	\l /path/to/persist-state.q

Note on style

I'm going overboard on comments because Q is hard for new users to understand.