RE: RECORD vs POINTER TO RECORD

From: Rene Dorta <"Rene>
Date: Thu, 24 Aug 2000 15:42:55 -0400

MODULE Kynn;
IMPORT Models, Stores;

TYPE Model = RECORD (Models.Model) END;
PROCEDURE (VAR m: Model(*Y*)) Internalize- (VAR rd: Stores.Reader) (*X*);
BEGIN
END Internalize;

END Kynn.

What the compiler is actually protesting is the signature of your
"Internalize" method, which doesn´t exactly match that of the corresponding
base method. The error marker is missplaced -I would say. It should be
located at *Y*, not at *X*. The compiler is expecting a VALUE parameter
rigth there.

The "only value parameters as receivers" rule of Component Pascal has hurt
us one more time!.

Regards, René Dorta
Escuela de Ingeniería Eléctrica
Universidad de Carabobo
Valencia. Venezuela


--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy
Received on Thu Aug 24 2000 - 19:42:55 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:45 UTC