` 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 November 21, 2024, 1:05 pm
This article has been viewed/printed 35209 times.