KDB, console remembers old version of script

200 views Asked by At

I am observing an odd behaviour. My Q console remembers the old version for a very simlpe q. script. I keep modifying .q script and rerunning, no help. Is there "cache" in q.exe? if yes, can something be reset?

windows version -> KDB+ 3.2 2014.

1

There are 1 answers

3
Manish Patel On

the q.exe doesn't remember anything at all. That's entirely OS-related (e.g. command history).

EDIT after comments

q behaves just like any other scripting language: when you load it, it will do what the script says but will not change its behaviour if you change the file without reloading. To do this either restart the q instance or explicitly load it in the current one:

\l /path/to/file.q