Clarion 2 2s
2 Clarion Ct, Newark, DE is currently not for sale. Single-family home is a 4 bed, 1.5 bath property. This home was built in 1974 and last sold on for $95,500. View more property details, sales history and Zestimate data on Zillow.
- Clarion DevCon 2019! The Clarion International Developer Conference 2019 is being held on September 23 to September 27 (initial 2 days of training (optional)), 3 days of Conference presentations. It's being hosted at the Wyndham Hotel, Disney Springs, Orlando, Florida, USA. Register to attend, or submit a request to be a presenter here.
- Everyday luxury from Clarion Bathware. View Our Showers » Showers; Multipiece Sectionals Multipiece sectionals make remodeling a snap. Combine that with our patented E-Z Pin System and you'll be done in no time! Standard on all 4-piece and available for most 2 or 3 piece units. That’s the everyday luxury of Clarion Bathware Multipiece.
Get(Queue) is reliable if you 'Get' by a sorted order. In other words, your
example will work if modified as follows....
MyQueue QUEUE,PRE(Qu)
Entry ULONG
END
Qu:Entry=NewEntry
get(MyQueue,MyQueue.Entry)
if errorcode()=30 !entry not found ->
add(MyQueue,MyQueue.Entry)
end
The only change was to 'Add' to the Queue by the field in which you want to
eliminate dups.
Your older Clarion syntax of get(MyQueue,Qu:Entry) and the corresponding
add(MyQueue,Qu:Entry) are also acceptable. However since the
'advancement' of the enviroment and the inablility to put prefixs in the global
data area for global queues, the QueueName.Fieldname syntax is probably better.
As a side note, you can use the same technique to sort/add/dedup by groups
within a queue by adding/getting by the group name. Pretty handy!
Hope this helps, and Happy New Year!
Andy Hodge
Windflite Computer Systems, Inc
>To avoid multiple entries in a queue I check if the
>entry to be added is already in the queue:
>MyQueue QUEUE,PRE(Qu)
>Entry ULONG
> END
>Qu:Entry=NewEntry
>get(MyQueue,Qu:Entry)
>if errorcode()=30 !entry not found -> add
> add(MyQueue)
>end
Clarion Cmg1622r
>If I try to add the same entry several times in a row
>every thing works fine: the record will not be added
>a second time. But if a different record has been added
>in between GET(...) doesn't detect duplicates anymore.
>Example:
Clarion 2 2s Max
>adding 1,3,2,2,2,... works ok, the multiple 2s don't get
>added.
Clarion 2 2s 0
>adding 1,3,2,1 will add 1 again although it is already
>in the queue.
>According to the manual GET:QUEUE looks for an exact match
>other than GET:FILE which looks for the nearest match.
>Whats wrong here?
>Bye
>Rak