` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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.


Today is November 23, 2024, 3:33 am
This article has been viewed 35219 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: