>hello
Hej Magnus

>i am trying to acces a list on a txt. file, but in some way director cant
understand that
>it is a list. this is the code:

>global scribe, gBildspel, gPos

>on startmovie me
>  set scribe to new (xtra "fileio")
>  openfile (scribe, "a:\bildval.txt", 0)
>  put readfile (scribe) into gBildspel
>
>  gPos=1
>  set the member of sprite 20=member getat(gBildspel, gPos) of castlib
"thumbnails"
>end

You need to set gBildspel to value(readfile(scribe)
else the list will be a STRING

/Micke

[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!]



[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