Lets say I have a function that asks me for my name [whatsyourname(user)]. and I enter ‘adam’.
And lets say I have an instance named “adamtwenty”, for example, I’d like to modify using the function.
How do I add the ‘twenty’ to the user name input (‘adam’), so I could change the instance?
im stil not quite sure what your asking for here…
if you have a variable calld user and you want to add the string twenty to it, use this:
user+=“twenty”
if you are trying to address an instance with instance name user plus a string, use this:
_root[user+“twenty”]