ok Jax,
it's easier than you think... so you have a list ["one", "two", "three"],
and you want to take that values offf the list to use them in a variable.
I can suggest you to have lingo counting how many entries does this list
have inside herself, it can be done this way.

entries = listVariable.count

where count is a function that applied to lists can extrapolate the number
of entries in it. Now you should go one by one all the entries and put them
in a string for your field to display it.

repeat with a = 1 to entries
    stringVariable = stringVariable&&listVariable[a]
end repeat

this should fill your stringVariable with all the values in the
listVariable. You can also put commas between the entries by changing the
instruction into the repeat block like this :

 stringVariable = stringVariable&", "&listVariable[a]

Ok, jax hope i've been of some help. Good Luck!




Ivan Preziosi
--------------------------
LingoManiac
Flash sailorman
Director tailorman
--------------------------
Kaibu Interactive
Via Borgognona 12
Roma, Italia
tel. ++39.06.69925824
--------------------------
[EMAIL PROTECTED]
--------------------------
personal hotline
349.4715573
--------------------------
"Oh non datemi piu' quel Vecchio Liquore Janx
No, non datemi piu' il Vecchio Janx

Altrimenti la testa mi vola via,
la lingua dice solo una bugia,

gli occhi mi si mettono a bollire,
e va a finire che mi tocca morire.

Su dunque, riempitemi un altro bicchiere,
che il turpe Janx voglio bere."



----- Original Message -----
From: "jax sheba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 24, 2001 4:27 AM


> I am trying to see if I can teach myself how to use lists in lingo. I have
> created a movie that will collect items and store the items in a list. I
> would also like to have a link to a field called "inventory" which
displays
> which items have been collected. I can put the list into the field no
> problem. The problem is that it appears as a list. "You have collected
> "["one","two","three"]" You nedd to find "["four", "five", "six"]""
> How can I Put the items of the list into a string without the brackets and
> ""'s? is there a simple way? I am but a novice I'm afraid when it comes to
> lingo.
> any help you could offer would be fantastic! Thankyou Jacqueline in B.C.




[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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