Yes, it's related to the uniformity of dealing with arrays, I was aware of the q={} method for clearing the queue. So, in the end, which version is correct: q = '{} or q = {} ? I saw one simulator supporting q = {} and another one q = '{} ... Adrian On Thu, August 3, 2006 19:47, Rich, Dave wrote: > I think this is a good idea. I would like to see as much uniformity as > possible with all the array methods across all the array types. > > Dave > > >> -----Original Message----- >> From: owner-sv-ec@server.eda-stds.org [mailto:owner-sv-ec@server.eda- >> stds.org] On Behalf Of Adrian Coman >> Sent: Thursday, August 03, 2006 3:32 AM >> To: sv-ec@server.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.roReceived on Thu Aug 3 11:11:50 2006
This archive was generated by hypermail 2.1.8 : Thu Aug 03 2006 - 11:12:00 PDT