` Printed Icetips Article

Icetips Article



Par2: Passing Queues as Parameters (Named Queues)
1999-07-27 -- A. van Ieperen
 
You do not have to pass the queue as a string paramater. Instead, use the name of 
the TYPED queue from your include. e.g.:

Definitions:

MyQueueType  QUEUE, TYPE
SomeField   LONG
END

MyProcedure(MyQueueType PassQueue)
RETURN

You can then call the procedure with:

MyProcedure(MyQueue)

Inside the procedure you access the fields like:

PassQueue.SomeField =



Printed April 29, 2024, 7:15 am
This article has been viewed/printed 35112 times.