----boundary-LibPST-iamunique-205897587_-_-
Content-type: text/plain
Hi
A related 'beginners' question:
In the code below I'm never quite sure what
x.key = y.key
does.
Does it compare all 11 CHARs, or only up to the 0X?
Personally I'm tempted to add a $ to one, or both, .key.
Is this necessary/efficient?
Incidently I think that a more useful error message to the
original problem is reported to the Log as well as the usual
compiler error marker in the Mod file.
Cheers
Robert Campbell
> Well, you have declared abstract methods in the abstract class, so you have
> to implement those methods in the "real" class:
>
> > StringNode = POINTER TO RECORD (Node)
> > key : ARRAY 11 OF CHAR;
> > END;
>
> PROCEDURE (x : StringNode) EqualTo* (y : Node) : BOOLEAN;
> BEGIN
> WITH y: StringNode DO
> RETURN x.key = y.key
> ELSE
> RETURN FALSE
> END
> END EqualTo;
--------------------------------------------
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
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-205897587_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NT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