# Help needed with K 2.95 code

**URL:** <https://forum.kx.com/t/help-needed-with-k-2-95-code/6413>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [December 13, 2009, 8:01pm UTC](https://forum.kx.com/t/help-needed-with-k-2-95-code/6413 "2009-12-13T20:01:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GH1](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@GH1](https://forum.kx.com/u/GH1)\
**Post date:** [December 13, 2009, 8:01pm UTC](https://forum.kx.com/t/help-needed-with-k-2-95-code/6413/1 "2009-12-13T20:01:00Z")

</div>

I am maintaining some old code in K 2.95 (2003). We are planning tomove to thelatest KDB+ 2.6. However I found the many of the K 2.95 constructsdoes not work inthe version of K embedded in Q that comes with KDB+ 2.6. Anysuggestions about whereto find docs on the version of K embedded in Q, and guides on upgrade?Below is a partial list of the constructs that worked worked ok with K2.95, but with K embbeded in current Q:/ dictionary with attribute: a: .,(`b;5;.,(`c;`form))/ show a K data object in a window: msg:"Hello world" `show $ `msg/ there is a Q construct with similar syntax, show msg, but it doesnot do the same thing, it only displays the data object in the consolewhile the K 2.95 version shows it in a window and allows editing inthat window/ Many of the monadic primitives in K 2.95 does not work in Q. I heardthat they are replaced with names. Is there an exhaustive list?

---

<div class="post-metadata">

**Author:** ![Lindqvist](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@Lindqvist](https://forum.kx.com/u/Lindqvist)\
**Post date:** [December 21, 2009, 1:45pm UTC](https://forum.kx.com/t/help-needed-with-k-2-95-code/6413/2 "2009-12-21T13:45:00Z")

</div>

There is a good list here:[https://code.kx.com/trac/wiki/ReferenceI](https://code.kx.com/trac/wiki/ReferenceI) also suggest reading:[https://code.kx.com/trac/wiki/QforMortals2/contentsYou](https://code.kx.com/trac/wiki/QforMortals2/contentsYou) can also take a look at the q.k file in your KDB+ distribution,which defines the q style verbs.Kaving worked with k2.95 -\> q ports myself, I found that to be a goodidea.On 13 Dec, 21:01, GH \<yzg…\> wrote:\> I am maintaining some old code in K 2.95 (2003). We are planning to\> move to the\> latest KDB+ 2.6. However I found the many of the K 2.95 constructs\> does not work in\> the version of K embedded in Q that comes with KDB+ 2.6. Any\> suggestions about where\> to find docs on the version of K embedded in Q, and guides on upgrade?\>\> Below is a partial list of the constructs that worked worked ok with K\> 2.95, but with K embbeded in current Q:\>\> / dictionary with attribute:\> ? a: .,(`b;5;.,(`c;`form))&gt;&gt; / show a K data object in a window:&gt; ? msg:"Hello world"&gt; ? `show $ `msg\> / there is a Q construct with similar syntax, show msg, but it does\> not do the same thing, it only displays the data object in the console\> while the K 2.95 version shows it in a window and allows editing in\> that window\>\> / Many of the monadic primitives in K 2.95 does not work in Q. I heard\> that they are replaced with names. Is there an exhaustive list?\</yzg…\>
