# \[MX2004\] Function Variables

**URL:** <https://forum.kirupa.com/t/mx2004-function-variables/140175>\
**Category:** Uncategorized\
**Created:** [March 8, 2005, 10:43pm UTC](https://forum.kirupa.com/t/mx2004-function-variables/140175 "2005-03-08T22:43:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kBisk](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kBisk](https://forum.kirupa.com/u/kBisk)\
**Post date:** [March 8, 2005, 10:43pm UTC](https://forum.kirupa.com/t/mx2004-function-variables/140175/1 "2005-03-08T22:43:52Z")

</div>

I need the img\_n variable below to be equal to a text value when hover\_n equals different intergers.

**img\_n = (“i”+hover\_n+"\_caption");**

For example, if **hover\_n=23** , then **img\_n = i23\_caption** ;

Is there a text equivalent to eval() or something that can return this value?
