RE: [sv-ec] Queue delete() method

From: Arturo Salz <Arturo.Salz_at_.....>
Date: Thu Aug 03 2006 - 09:50:19 PDT
Adrian,

You can delete all the elements of a queue by assigning the empty queue
literal to the queue: q = {};

	Arturo

-----Original Message-----
From: owner-sv-ec@eda-stds.org [mailto:owner-sv-ec@eda-stds.org] On
Behalf Of Adrian Coman
Sent: Thursday, August 03, 2006 3:32 AM
To: sv-ec@eda-stds.org
Subject: [sv-ec] Queue delete() method

Hi,

In 1800-2005 LRM I see that for the dynamic&associative arrays the
delete() built-in
method is deleting all the items of that array. For the queue, the
delete() method
*must* have an argument specifying the index to be deleted.

Is it possible to have the delete() queue method (section 5.14.2.3)
deleting all the
queue items (clearing the queue) when no argument is specified, just
like for the
dynamic&associative arrays?

Thanks,
Adrian

-- 
Adrian Coman
CEO, TrustIC
email: adrian@trustic.ro
Phone: +33 (0) 622 431 618
Fax:   +40 (0) 318 105 269
Web: www.trustic.ro
Received on Thu Aug 3 09:50:35 2006

This archive was generated by hypermail 2.1.8 : Thu Aug 03 2006 - 09:50:48 PDT