So, I am trying to parse this. Brad, you believe that the attribute inquiry methods may be invoked without the parenthesis? Specifically, that "x = str.len;" is legal? Michael McNamara mcnamara@cadence.com 408-914-6808 work 408-348-7025 cell -----Original Message----- From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Brad Pierce Sent: Wednesday, December 14, 2005 7:41 AM To: sv-bc@eda.org Subject: Re: [sv-bc] Function call without parenthesis Surya, >4) x = str.len; // len is method of string datatype, incorrect behaviour, > // you need to specify parenthesis. I don't think that was the intent. Probably the LRM said "class method" instead of "method" to distinguish from "interface method". It should have clarified that it was talking only about user-defined subroutines, not built-in methods, which are more like unredefinable system subroutines. -- BradReceived on Wed Dec 14 08:27:02 2005
This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 08:27:30 PST