Xbasic
THREAD_NAME_CREATE Function
Syntax
Unique_Name as C = THREAD_NAME_CREATE(C thread_name)
Arguments
- thread_nameCharacter
The name of a thread.
Returns
- Unique_NameCharacter
A unique thread name based on the supplied thread name.
Description
For internal use only. Make a unique thread name, provide preferred name, numbers will be added if thread on name already exists.
Discussion
The THREAD_NAME_CREATE() function returns a unique variant of the thread name based on the supplied thread name.
No user interface related commands are allowed in a thread. Using any command that attempts to create or manipulate any type of user interface from within a thread will cause Alpha Anywhere to hang. Examples of such invalid functions include debug() , ui_*, StatusBar.*, ControlPanel.*, trace.*, etc.
Limitations
Desktop applications only.
See Also