Re: action.Do, & 1.4 interface definitions in general

From: [at]} <robert.d.campbell{>
Date: Wed, 09 May 2001 10:55:07 +0100 (BST)

Gérard


Thanks for your reply.

I suspect that my problem was that I was using the client interface and losing
some methods.
When I used the 'flat' option to try and recover them I also brought in more
methods than I wanted
for the Docu files.

However the complete interface is NOT the same as 1.3. For the attached sample
module control D in 1.3 gives:

DEFINITION AaaSolve;

        TYPE
                Function = POINTER TO ABSTRACT RECORD END;

                Function2D = POINTER TO ABSTRACT RECORD (Function)
(fn: Function2D) Dfdx (x, y: REAL): REAL, NEW,
ABSTRACT;
(fn: Function2D) Dfdy (x, y: REAL): REAL, NEW,
ABSTRACT;
(fn: Function2D) Eval (x, y: REAL): REAL, NEW, ABSTRACT
                END;

                Quadratic = POINTER TO RECORD (Function2D)
                        a, b, c, d, e, f: REAL;
(q: Quadratic) Dfdx (x, y: REAL): REAL;
(q: Quadratic) Dfdy (x, y: REAL): REAL;
(q: Quadratic) Eval (x, y: REAL): REAL
                END;

END AaaSolve.


whereas the 1.4 complete interface is:


DEFINITION AaaSolve;

        TYPE
                Function = POINTER TO ABSTRACT RECORD END;

                Function2D = POINTER TO ABSTRACT RECORD (Function)
(fn: Function2D) Dfdx (x, y: REAL): REAL, NEW,
ABSTRACT;
(fn: Function2D) Dfdy (x, y: REAL): REAL, NEW,
ABSTRACT;
(fn: Function2D) Eval (x, y: REAL): REAL, NEW, ABSTRACT
                END;

                Quadratic = POINTER TO RECORD (Function2D(Function))
                        a, b, c, d, e, f: REAL;
(fn: Function2D) Dfdx (x, y: REAL): REAL, NEW,
ABSTRACT;
(fn: Function2D) Dfdy (x, y: REAL): REAL, NEW,
ABSTRACT;
(fn: Function2D) Eval (x, y: REAL): REAL, NEW,
ABSTRACT;
(q: Quadratic) Dfdx (x, y: REAL): REAL;
(q: Quadratic) Dfdy (x, y: REAL): REAL;
(q: Quadratic) Eval (x, y: REAL): REAL
                END;

END AaaSolve.


I think the 1.3 interface is simpler and better suited for Docu files.


Regards

Robert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VeI.MQ,dC,NIfPM.H769eR..Z
 0H,kRqEE0GVKoXaIbqEE0GEIe3ZeJJeC3YUAiiAgUIZU2je2jU2Yf2YUAiiIgUIZUAjeAjU2Yf
 22QgUIZU2Dn96,,YgUIZU2jU2Yf.996J76n96,t8EnqEE0mWuYU2Y3piVtCPM1sH..X0.GIn2D
 .cIM8.i1.66g6UmoZUIZUAiiAA2D.51n1EmqEE0mWU2pgYtCPM1sH..X0.kw.UGVd.sC..g6..
 31n1klEw.ggB2290UvgVBgV3pd2321OM.RN1PcUXDJ9X1xhiZimxhgZhZJinpZHZC58RZ9P7ON
 bvM,Mw..c95uPR9R.7ONbvM,kVkk.Um,..Unp3.6F6.Z50.G,0.aU.6.,..1cUXDJcIf9P9fQb
 f9bWGhigFWE.4Te.sQRdIf9P9HWE.8z,E.0.T3D.DJ.0E.0U10.bf9bWHZitZhZZcZRC,Mw.EL
 MSN12Umz.6..F.x0,6.IE.EL4Iu.6F6.G.0..686.16.6.6AXhKE.GT,5UAB94.4.6URjBcUZT
 12U.2..c60U.2.A.,U6hggpiZZidRgV7TxR.0.,6Y1.0.UA2Tm.mmBjZ92T,eUXDF.sET1.UEU
 ...W.0.A,,UMSdn7Crsc0MyfU.az864T8OWPDW7mw,...
 --- end of encoding ---



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

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 Wed May 09 2001 - 09:55:07 UTC

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