# \[personal kdb+\] extra null at end?

**URL:** <https://forum.kx.com/t/personal-kdb-extra-null-at-end/6599>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [May 4, 2010, 3:42pm UTC](https://forum.kx.com/t/personal-kdb-extra-null-at-end/6599 "2010-05-04T15:42:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![User7](https://avatars.discourse-cdn.com/v4/letter/u/7ea924/32.png) [@User7](https://forum.kx.com/u/User7)\
**Post date:** [May 4, 2010, 3:42pm UTC](https://forum.kx.com/t/personal-kdb-extra-null-at-end/6599/1 "2010-05-04T15:42:00Z")

</div>

Hi,

When i apply each to a list why am i getting extra nulls at the end  
when i try to print them with show command

This is what i have

q)f:{show x}  
q)l:1 2 3 4  
q)type l  
6h  
q)f each l  
1  
2  
3  
4  
::  
::  
::  
::

I don’t understand why the f prints the extra ::

Thanks  
Bharani

–  
Submitted via Google Groups

---

<div class="post-metadata">

**Author:** ![charlie1](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@charlie1](https://forum.kx.com/u/charlie1)\
**Post date:** [May 4, 2010, 3:45pm UTC](https://forum.kx.com/t/personal-kdb-extra-null-at-end/6599/2 "2010-05-04T15:45:00Z")

</div>

f doesn’t print it.

f returns ::

try

q)f each l;

if you want to ignore the return value
