>Now I want to save this information so I can use it the next time I start my
>program. In the end it will be saved in a database (if possible), but for
>now any method would do. I tried to save it with BA writeini and as text in
>a textmember. But if I'm not mistaken, transform is an object and does
>therefore not save, well the information is saved as
>"transform(1.0000,0.000" etc...., but I cant get this information back into
>director.
>I have tried value and different variations of do but nothing I have tried
>so far works. Has anyone done anything similar? How should I save this
>information and retrieve it?

value() does not work on string ( transform() ). If you want to 
recreate a transform() at runtime, you will have to set each one of 
its 16 values:

t = transform()
t[1] = t1
..
t[16] = t16

A simpler way of achieving that is to use vList xtra, which is free 
for what you want to do (save your Lingo lists in external binary 
files). The Xtra saves transform() data and automatically recreates 
the transform() at runtime when reading back the file in memory.
-- 

Daniel Devolder

Check my vList Xtra for saving Lingo values and lists with optional 
ZIP compression and encryption

http://www.updatestage.com/xtras/vlist.html

Your friendly spanish Director MMUG is at:

http://flash.to/director
[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