Don't embed function definitions (eg. sub) inside other blocks.
See For loop and Sub Routines for the same problem without threads.
In reply to Re: Threads and Shared Variables
by BrowserUk
in thread Threads and Shared Variables
by hermes1908
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |