08-03-2020, 11:59 AM
= start macro without new thread
macroname
= start macro with new thread
mac("macroname")
= start macro with new thread and wait for thread end
int hThread
hThread = mac("macroname"); wait 0 H hThread
= start macro to get values
int i
i = macroname ; wait 5 V i
( wait for 5 seconds to get value "i", if not, errors )
macroname
= start macro with new thread
mac("macroname")
= start macro with new thread and wait for thread end
int hThread
hThread = mac("macroname"); wait 0 H hThread
= start macro to get values
int i
i = macroname ; wait 5 V i
( wait for 5 seconds to get value "i", if not, errors )