# `show`


_Format and display at the console._
```syntax
show x    show[x]
```

Formats `x` and writes it to the console; returns the identity function `(::)`.
```q
q)a:show til 5
0 1 2 3 4
q)a~(::)
1b
```

> **Tip — Display intermediate values**
>
>
> ```q
> q)f:{a:x<5;sum a}
> q)f 2 3 5 7 3
> 3
> q)f:{show a:x<5;sum a}    / same function, showing value of a
> q)f 2 3 5 7 3
> 11001b
> 3
> ```
>
>
>
[Display](display.md)


[Debugging](../basics/debug.md)
