ThreadName

Description:              This function returns the name of a thread.

Returns:                    Text

Usage:                       Script

Format:                      ThreadName(Instance)

Parameters:             Instance     { varies }  { required }  { no default: }

                                                Any object value designating the thread for which the name is required.

Comments:               This function returns the name of the thread in which Instance is executing.

Example:

If ! Valid(myThread);

[

  myThread = ThreadName(Self());

]

See Also:

Profile | Thread | ThreadList | ThreadIdle | ThreadName |