# \`show

**URL:** <https://forum.kx.com/t/show/6387>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [December 2, 2009, 1:49am UTC](https://forum.kx.com/t/show/6387 "2009-12-02T01:49:00Z")\
**Posts on this page:** 5\
**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 2, 2009, 1:49am UTC](https://forum.kx.com/t/show/6387/1 "2009-12-02T01:49:00Z")

</div>

Does the recent version of Q include `show? It does not seem to workwith therecent developer version Q 2.6. But it worked with an older version ofK (2.95) I have./ e. g. the following worked for an older version of K (2.95), but notfor a recentversion of Q:q)\ msg:"Hello world" msg"Hello world" `show $ `msg’type

---

<div class="post-metadata">

**Author:** ![simon5](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@simon5](https://forum.kx.com/u/simon5)\
**Post date:** [December 2, 2009, 9:05am UTC](https://forum.kx.com/t/show/6387/2 "2009-12-02T09:05:00Z")

</div>

you’re confusing yourself by mixing k2 and kdb+ (q and k4)kdb+ has never had `showOn 02.12.2009, at 02:49, GH wrote:\> Does the recent version of Q include `show? It does not seem to work\> with the\> recent developer version Q 2.6. But it worked with an older version of\> K (2.95) I have.\> / e. g. the following worked for an older version of K (2.95), but not\> for a recent\> version of Q:\> q)\\> msg:“Hello world”\> msg\> “Hello world”\> `show $ `msg\> 'type

---

<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 3, 2009, 2:54am UTC](https://forum.kx.com/t/show/6387/3 "2009-12-03T02:54:00Z")

</div>

I don’t think I mixed K and Q. With the current version, there is onlyQ. I entered K with \Just was not sure how to run the `show which worked for an olderversion of K under the current version of Q.On Dec 2, 4:05?am, Simon Garland <simon.garl...> wrote:&gt; you're confusing yourself by mixing k2 and kdb+ (q and k4)&gt;&gt; kdb+ has never had `show\>\> On 02.12.2009, at 02:49, GH wrote:\>\> \> Does the recent version of Q include `show? It does not seem to work&gt; &gt; with the&gt; &gt; recent developer version Q 2.6. But it worked with an older version of&gt; &gt; K (2.95) I have.&gt; &gt; / e. g. the following worked for an older version of K (2.95), but not&gt; &gt; for a recent&gt; &gt; version of Q:&gt; &gt; q)\&gt; &gt; ?msg:"Hello world"&gt; &gt; ?msg&gt; &gt; "Hello world"&gt; &gt; ?`show $ `msg\> \> 'type\</simon.garl…\>

---

<div class="post-metadata">

**Author:** ![trieder](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@trieder](https://forum.kx.com/u/trieder)\
**Post date:** [December 3, 2009, 4:04am UTC](https://forum.kx.com/t/show/6387/4 "2009-12-03T04:04:00Z")

</div>

charset=us-ascii;  
format=flowed;  
delsp=yes

Simon is right: `show as a lhs for $ is from k version 2. The latest kdb+ is k version 4 (and q) where `show is not a valid lhs for $ in q  
or k

What you want is

show msg

---

<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 4, 2009, 2:38am UTC](https://forum.kx.com/t/show/6387/5 "2009-12-04T02:38:00Z")

</div>

Many thanks for the info. That’s great help for me.On Dec 2, 11:04?pm, Timothy Rieder \<trie…\> wrote:\> Simon is right: `show as a lhs for $ is from k version 2. The latest ?&gt; kdb+ is k version 4 (and q) where `show is not a valid lhs for $ in q ?\> or k\>\> What you want is\>\> show msg\>\> On Dec 2, 2009, at 9:54 PM, GH \<yzg…\> wrote:\>\> \> I don’t think I mixed K and Q. With the current version, there is only\> \> Q. I entered K with &gt; \> Just was not sure how to run the `show which worked for an older&gt; &gt; version of K under the current version of Q.&gt;&gt; &gt; On Dec 2, 4:05 am, Simon Garland <simon.garl...> wrote:&gt; &gt;&gt; you're confusing yourself by mixing k2 and kdb+ (q and k4)&gt;&gt; &gt;&gt; kdb+ has never had `show\>\> \>\> On 02.12.2009, at 02:49, GH wrote:\>\> \>\>\> Does the recent version of Q include `show? It does not seem to work&gt; &gt;&gt;&gt; with the&gt; &gt;&gt;&gt; recent developer version Q 2.6. But it worked with an older ?&gt; &gt;&gt;&gt; version of&gt; &gt;&gt;&gt; K (2.95) I have.&gt; &gt;&gt;&gt; / e. g. the following worked for an older version of K (2.95), but ?&gt; &gt;&gt;&gt; not&gt; &gt;&gt;&gt; for a recent&gt; &gt;&gt;&gt; version of Q:&gt; &gt;&gt;&gt; q)\&gt; &gt;&gt;&gt; ?msg:"Hello world"&gt; &gt;&gt;&gt; ?msg&gt; &gt;&gt;&gt; "Hello world"&gt; &gt;&gt;&gt; ?`show $ `msg\> \>\>\> 'type\>\> \> –\>\> \> You received this message because you are subscribed to the Google ?\> \> Groups “Kdb+ Personal Developers” group.\> \> To post to this group, send email to personal-\> \> [kdbplus@googlegroups.com](mailto:kdbplus@googlegroups.com).\> \> To unsubscribe from this group, send email to [personal-kdbplus+unsubscribe@googlegroups.com](mailto:personal-kdbplus+unsubscribe@googlegroups.com)\> \> .\> \> For more options, visit this group athttp://groups.google.com/group/personal-kdbplus?hl=en\> \> .\</simon.garl…\>\</yzg…\>\</trie…\>
