Table of Contents

IDLEPROCQUEUE property (System)

Descriptionhe operating system accordingly.

Returns a list of "idle procedures" waiting to be executed.

Property Value

This property is an @fm-delimited array of queued "idle procedure" names and associated data. Each item in the queue is an @vm-delimited array with the following format:

<0,1> Procedure Name

<0,2> Parameter Value – can be null

<0,3> Execution Time (Local Time in the format hh:mm:ss) – can be null

<0,4> Execution Date (in the format mm/dd/yy) – can be null

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
N/AGetNoNoNo

Remarks

N/A

Example

 
// Example - Check the IDLEPROC Queue to see if a program is waiting to

   //           be executed

   

   IPQ = Get_Property( "SYSTEM", "IDLEPROCQUEUE" )

   

   // The queue is returned in "list" format - we want to do a "locate" search

   // so we transpose the queue data to an "array" format first.

   //

   // i.e We want to transpose something like this:

   //

   //   "PROC_1", "Param1", "Time1", "Date1"

   //   "PROC_2", "Param2", "Time2", "Date2"

   //   "PROC_3", "Param3", "Time3", "Date3"

   //

   // To this:

   //

   //   "PROC_1", "PROC_2", "PROC_3"

   //   "Param1", "Param2", "Param3"

   //   "Time1" , "Time2" , "Time3"

   //   "Date1" , "Date2" , "Date3"

   

   IPQ = Exec_Method( "SYSTEM", "LIST2ARRAY", IPQ, 0, 0, @Fm, @Vm )

   

   Locate "MYPROC" in IPQ<1> Using @Vm Setting Pos Then

      // Found it

   End Else

      // "MYPROC" is not waiting to be executed
 
 
 

See Also

IDLEPROC property, ADDIDLEPROC method.