VCS passing parameter to thread or task

In Vex coding studio, is there a way to pass a parameter to a thread or task? I know you can circumvent the process by using a global variable in a parameter-like way, but that’s not really what I’m trying to do.

Threads are standard c++ I believe, so you should just be able to pass arguments when you create the thread by placing the function arguments after the function name seperated with a comma. See this. I’ve never actually tried it, but I’m pretty sure this will work to do what you want.

no, the threading is not standard C++

we plan an update in the future that will allow passing a single (void *) argument as a parameter, the primary use is to allow a C++ class instance to be passed in and therefore allow access to C++ instance methods, but the date is still TBD and I suspect we will delay until after worlds.

So @jpearman does that mean it is not currently possible to send a parameter directly to a thread?

correct.