>I am trying to generate a namelist.
>
>
>on beginSprite me
>  NamesList = member("Record").text
>    repeat with i = 1 to Nameslist

Here's your problem--NamesList isn't a number. Try this:

on beginSprite me

    repeat with i = 1 to member("record").text.line.count
      -- do whatever you need in the loop
    end repeat

I'm not sure what you want to display, but it looks like the rest of the 
code needs some tweaking, too. What's in "record," and what do you want to 
do with it?

Cordially,

Kerry Thompson


[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