Re: [sv-bc] Function call without parenthesis

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Wed Dec 14 2005 - 07:40:31 PST
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.

-- Brad
Received on Wed Dec 14 07:40:50 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 07:41:43 PST