make a list global

  • Автор темы Автор темы surfmore
  • Дата начала Дата начала

surfmore

Client
Регистрация
08.09.2011
Сообщения
139
Реакции
7
Баллы
18
How do I make a list work for all threads?

What I mean is, if a thread takes out a value from the list a second thread running just after will find the list the same way the first one changed?

Should I just keep the change to the file? Or there is a better way?

thanks.
 
Do not use faile actions or list processing - save to file
Just add list to your project and in it`s settings set "load from file" and "save changes" checkboxes
 
ok. thanks. Is there a way to lets say we use all the values from a list and updated to the file. So, after we use all the file will be blank/deleted.

How can we check if the file exists / is empty, populate the file again from another file (for example) and make the threads to reload the list from the file.

What i mean is how can instead of save the changes to file, save the file to the list (reload) in the middle of the process.
 
Here you go
 

Вложения

What bind to file does? I am trying to find a documentation where it explains each part of zenno like this one and I cant find.

Can you please refer it to me.

thanks.
 
I want a list to load from a file in the middle of the project. How do I do that? I know I can load when the project is launched. But couldnt find a way to load ater that.

Bind to file means to attache the content of the list to the end of the file?

Where can I find a wiki for all zenno 5 features explained?
 
i gave you example above.
you use bind to file action when your path to file may change during execution of project. or if you wanna load data from file in the middle of project
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)