Thank you Mikael,
got some help yesterday from somebody else, he came with a great solution and
very simple.

    set the text of member( "mytext") = netTextResult(tNetID)
    listscores= value(member("mytext").text.line[1])
    listnames = value(member("mytext").text.line[2])

the only thing i got to do is making my text file on server this way:

[1,2,3,4,5,6,7,8,9,0]  here a return
[name1,name2,etc..]

Really easy. i can now make my highscores settings saved in only one txt and
change all content at will.
Thanks anyway, i save your script on a warm place into my archives, you never
know witch lingo problem will show up!!

Fabrice

Mikael Wir�n wrote:

> > Hi guys,
> Hi Fabrice
> Hmmm........My mail is funny today, cant seem to respond to mails, have to
> send new ones. The pelies get bounced back, anyone has an idea? Win 98,
> Outlook2000
> > now want to create 2 lists from this textfield:  listname =
> > [1,2,3,4,5] and
> > listname =[bert,bob,annie,gerard,lucas]
> > How i do this?
> >
> First you check out the VALUE function
> Then you read up on stringP and integerP
> When you have done that you can do it like this
> <Explanatory LINGO>
> on listCreator
>   aString = member("your_field").text --the list form your field
>   orgList = value(aString)--evaluates the string to a list
>   num_list = []--your list of numbers
>   name_list = []--your list of names
>   list_end = orgList.count
>   repeat with i = list_end down to 1
>     entry = orgList[i]
>     if stringP(entry) then --checks to see if it�s a string
>       name_list.add(entry) --puts it in the namelist
>     end if
>     if integerP(entry) then --checks to see if its a number
>       num_list.add(entry) --puts it in the number list
>     end if
>   end repeat
>   put "names:"&&name_list --shows your lists in the message win
>   put "nums:"&&num_list
> end
> </explanatory LINGO>
> good luck
> /Micke
>
> ____________________________________________
> Mikael Wir�n
> Knowledge Network
> Lillhagsv�gen 36
> 124 71 BANDHAGEN
> Tel: +46 (0)8 556 204 50
> Mob: +46-(0)709-15 24 30
> Mail: [EMAIL PROTECTED]
> Web: HTTP://www.knowledgenetwork.se
> ____________________________________________
>
> [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!]

--
Zuidzijde reclamebureau
http://www.zuidzijde.nl


[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