----boundary-LibPST-iamunique-791618821_-_-
Content-type: text/plain
> Does anyone understand how to program
> the procedure Properties.Property.IntersectWith?
>
> To be specific suppose I have a type WidgetProperty
> with a field p.widget. Further suppose widget is some
> constant (maybe 2).
>
> Image I have two properties p & q, and widget is in
> all of p.known, p.valid, q.known, & q.valid. Further
> suppose p.widget is blue and q.widget is blue.
>
> What does IntersectWith do?
>
>
> Seems easy?
>
> Maybe p.known is unchanged, p.valid is unchanged,
> and equal := TRUE?
>
>
> Now for the hard bit.
>
> What if widget is in one of p.readOnly and q.readOnly,
> but NOT in the other?
Robert,
Since readOnly means that the property must not be changed, I think that, in
this case, p.known is unchanged, p.valid is unchanged, widget is added to
p.readOnly (if not already in it), and equal := TRUE. The property should
not be changed if any selected element don't want it to be changed. Do you
agree?
Cheers.
Gérard
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-791618821_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCA+IERvZXMgYW55b25lIHVuZGVy
c3RhbmQgaG93IHRvIHByb2dyYW1ccGFyDQo+IHRoZSBwcm9jZWR1cmUgUHJvcGVydGllcy5Qcm9w
ZXJ0eS5JbnRlcnNlY3RXaXRoP1xwYXINCj5ccGFyDQo+I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