SIMPOL Documentation

!beginthread()

Prototype

!beginthread(<startfunction>, <…>)

Return value

.nul

Description

The first parameter is a function object for the function to start the new thread at. The following parameters must all be objects, not values, but there can be any number of them and they can be of any type, or .nul. These are passed to the function when the new thread starts. A program only ends when all threads have ended, ie. reached the end of their start function.

Parameters

NameDefaultTypeDescription
startfunction.nulfunctionThe function object where the thread should start.
noneany objectZero or more parameters as objects to pass to the start function