# How to print arrays inside functions?

**URL:** <https://discourse.julialang.org/t/how-to-print-arrays-inside-functions/4091>\
**Category:** General Usage\
**Created:** [June 5, 2017, 2:01pm UTC](https://discourse.julialang.org/t/how-to-print-arrays-inside-functions/4091 "2017-06-05T14:01:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![antoine-levitt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/antoine-levitt/32/4008_2.png) [@antoine-levitt](https://discourse.julialang.org/u/antoine-levitt)\
**Post date:** [June 6, 2017, 12:27am UTC](https://discourse.julialang.org/t/how-to-print-arrays-inside-functions/4091/5 "2017-06-06T00:27:42Z")

</div>

I always get confused by all the printing functions, but in the end I do `display(A)` in my tests, is this not the way to go?

---

_[View the full topic](https://discourse.julialang.org/t/how-to-print-arrays-inside-functions/4091)._
