Concatenate Variables


i have following varaiables:

reply1 = "something 1st reply"
reply2 = "something 2nd reply"
reply3 = "this 3rd reply"

plus variable 'totalreply' equal of first 3 variables depending on student's input.

how can create varuiable/function/whatever determine reply used based on name of icon?

i.e., there 3 calculations named 1, 2, or 3. inside each calculation i'm looking for. i've tried:

totalreply:="reply" ^ icontitle

no luck. i've tried without success:

myreply="reply"^icontitle
totalreply=myreply

any suggests appreciated.

jerry


> reply1 = "something 1st reply"
> reply2 = "something 2nd reply"
> reply3 = "this 3rd reply"


use list instead.
reply:=[]
reply[1] = "something 1st reply"
reply[2] = "something 2nd reply"
reply[3] = "this 3rd reply"


totalreply=reply[choicenumber]


steve


--
adobe community expert, authorware, flash mobile , devices
my blog - http://stevehoward.blogspot.com/
authorware tips - http://www.tomorrows-key.com



More discussions in Authorware


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support