I want to convert a string "ballpath1" to a list named ballpath1. I thought 
value("ballpath1") would make it ballpath1, but it comes out VOID. How can 
I achieve that?

I have a few ball paths showing the path of a ball movement. Depending on 
where a user choose to hit, it select the right animation path to play.

If I know it's 1, I use the path recorded in list ballpath1. What I have is 
a string ("ballpath" & whichPath), and I need to refer it to ballpath1 list 
if whichPath = 1.

   ballPath1 = [1: rect(94, 265, 105, 276), 2: rect(106, 240, 116, 250), 3: 
rect(134, 211, 141, 218), 4: rect(156, 194, 160, 198)]
   ballPath2 = [1: rect(94, 265, 105, 276), 2: rect(107, 249, 118, 260), 3: 
rect(135, 218, 144, 227), 4: rect(174, 190, 178, 194)]
   ballPath3 = [1: rect(94, 265, 105, 276), 2: rect(107, 249, 118, 260), 3: 
rect(124, 238, 135, 249), 4: rect(170, 202, 174, 206)]
...


Thanks for the help,

Changhsu Liu


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to