`
Par2: Passing a Queue to a procedure (TYPE'd queues) 1999-07-27 -- Shawn Mason It can be a little tricky. You need to define a queue in your includes (or globally) with a TYPE attribute. Then create the queue in both procedures using a LIKE your TYPE queue. When you pass the queue, make it as a STRING parameter instead of a queue (a queue parameter will not compile). When you need the components of the queue in the procedures use the following dot syntax: MyLocalProcQueueName.MyQueueField This will allow you to read/write to the individual fields in the queue whether in the calling or called procedure. A lot of this is covered in the help file under TYPE. Printed November 21, 2024, 7:19 am This article has been viewed/printed 35215 times. |