# Concatenating three variables?

**URL:** <https://forum.kirupa.com/t/concatenating-three-variables/155088>\
**Category:** Uncategorized\
**Created:** [July 14, 2005, 5:23pm UTC](https://forum.kirupa.com/t/concatenating-three-variables/155088 "2005-07-14T17:23:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![waxpants](https://avatars.discourse-cdn.com/v4/letter/w/aca169/32.png) [@waxpants](https://forum.kirupa.com/u/waxpants)\
**Post date:** [July 14, 2005, 5:23pm UTC](https://forum.kirupa.com/t/concatenating-three-variables/155088/1 "2005-07-14T17:23:44Z")

</div>

It’s another simple problem that has me stumped.

x = 1;  
y = 2;  
z = 3;

trace(x+y+z);

how do I get this to display “123” instead of “6”?

I’ve tried both eval and concat() and have failed to get either to work, not that they don’t work, I’m sure it’s just me.
