HB_IDLEDEL()
Removes the background task from the list of tasks.
- Syntax
-
- HB_IDLEDEL( <nHandle> ) --> xAction
- Arguments
-
- <nHandle> is the identifier of the task returned by the HB_IDLEADD() function.
- Returns
-
- <xAction> NIL if invalid handle is passed or a codeblock that was passed to HB_IDLEADD() function
- Description
-
- HB_IDLEDEL() removes the action associated with passed identifier from the list of background tasks. The identifer should be the value returned by the previous call of HB_IDLEADD() function.
- If specified task is defined then the codeblock is returned otherwise the NIL value is returned.
Examples
nTask := HB_IDLEADD( {|| SayTime()} )
INKEY(10)
cbAction := HB_IDLEDEL( nTask )
- Status
- Ready
- Compliance
-
- Harbour extension
- Platforms
-
- All
- Files
-
- source/rtl/idle.c
- See Also