Page 1 of 1

Saving list file via repl

Posted: Tue Jan 04, 2022 5:20 pm
by Barneybear
Hi, I can load a list from a text file then with repl modify e.g names(0)=0 the list. When I try to save the modified list to the same text file i encounter an error stating names does not exist. After which if I try to print names it has disappeared from ram.. Is this a stream issue, Is their a work around please
Thank you

Re: Saving list file via repl

Posted: Wed Jan 05, 2022 12:35 am
by skyark
Can you post the commands you use?

Re: Saving list file via repl

Posted: Wed Jan 05, 2022 2:37 pm
by Barneybear
Thanks for the reply, using Json seems to overcome the problem, and the list does not disappear during write. All the best