<< Prev        Next >>

ID : 148

Status

Function

To return the program status.

Syntax

Status(task)

Guaranteed entry

Task
Designate a task. Refer to "How to Designate a Task."

Return value

Status of a task designated in task is returned by integer type data.

Description

Status of a task designated in task is returned by integer type data.

For return value, refer to "Task Status."

Attention

If a specified task is not found, "81500029: Failed to find a file." is displayed.

Example

'!TITLE "Acquiring Program Status"
' Acquisition of program status
Sub Sample_Status

  Dim aaa As Integer

  ' Acquisition of program status
  aaa = Status( Status_Sample2 )

  ' Display the program status on the message output window
  PrintDbg aaa
  
End Sub

ID : 148

<< Prev        Next >>