# Can't exchange values of variables. Trace returns "undefined"?

**URL:** <https://forum.kirupa.com/t/cant-exchange-values-of-variables-trace-returns-undefined/128800>\
**Category:** Uncategorized\
**Created:** [November 16, 2004, 10:18am UTC](https://forum.kirupa.com/t/cant-exchange-values-of-variables-trace-returns-undefined/128800 "2004-11-16T10:18:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soniq7](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Soniq7](https://forum.kirupa.com/u/Soniq7)\
**Post date:** [November 16, 2004, 10:18am UTC](https://forum.kirupa.com/t/cant-exchange-values-of-variables-trace-returns-undefined/128800/1 "2004-11-16T10:18:34Z")

</div>

Hai,

I’m trying to pass the value of a variable in to another but tracing that value returns “undefined”

This is what i do:  
1 Im loading the values from an external .txt file. in the .txt file it says…

&customer1=blahblah

2 A textfield in Flash with the var: value “customer1” shows the externally loaded value…blahblah. So this is good:D

3 When I try to pass the value “blahblah” to another variable it returns “undefined” ??

test = customer1;

Also tried:  
test = eval(customer1);

I’m definitly doing something wrong here. can’t be that hard?!?  
Can somebody help me?

Thanks,  
Marc
