sthread | sthread : 支持高并发的协程网络库 | Networking library
kandi X-RAY | sthread Summary
kandi X-RAY | sthread Summary
sthread(simple-thread):支持高并发的协程网络库
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sthread
sthread Key Features
sthread Examples and Code Snippets
Community Discussions
Trending Discussions on sthread
QUESTION
I have the following sub which I iterate through several when running the full work book. What I am trying to do is to create a dictionary which is written to in the sub and then also accessed in the sub to get a max value. If i create the dictionary in the sub it is overwritten line by line so I can't get a max value , if I create the dictionary in another sub I have issues writing to it. What you suggest ?
...ANSWER
Answered 2018-Dec-05 at 14:16Although I can't actually see a dictionary variable defined, I suspect that you need to declare that variable at the module level (possibly as Private) so that all procs within that module can refer to it.
Make sure that you only declare the variable at module level and that in the entry proc you actually set it to a new dictionary. This approach ensures that you control when it is created.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sthread
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page