- BYTE arithmetic

From: Campbell, Robert D (SELEX) (UK Edinburgh) <"Campbell,>
Date: Wed, 21 Jun 2006 15:16:49 +0100

----boundary-LibPST-iamunique-28409913_-_-
Content-type: text/plain


Hi,

I was surprised to find that the
Following code does not compile:

VAR
  b : BYTE;
BEGIN
  b := -b


Same thing with SHORTINTs.

Is this what the Language Report requires?

Robert

(PS - I have not tried this on the Gardens Point
Compiler!)

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-28409913_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFxwYXINCkhpLFxwYXINClxwYXINCkkgd2FzIHN1
cnByaXNlZCB0byBmaW5kIHRoYXQgdGhlXHBhcg0KRm9sbG93aW5nIGNvZGUgZG9lcyBub3QgY29t
cGlsZTpccGFyDQpccGFyDQpWQVJccGFyDQogIGIgOiBCWVRFO1xwYXINCkJFR0lOXHBhcg0KICBi
ICA6PSAgLWJccGFyDQpccGFyDQpccGFyDQpTYW1lIHRoaW5nIHdpdGggU0hPUlRJTlRzLlxwYXIN
ClxwYXINCklzIHRoaXMgd2hhdCB0aGUgTGFuZ3VhZ2UgUmVwb3J0IHJlcXVpcmVzP1xwYXINClxw
YXINClJvYmVydFxwYXINClxwYXINCihQUyAtIEkgaGF2ZSBub3QgdHJpZWQgdGhpcyBvbiB0aGUg
R2FyZGVucyBQb2ludFxwYXINCkNvbXBpbGVyISlccGFyDQpccGFyDQoqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxwYXIN
ClRoaXMgZW1haWwgYW5kIGFueSBhdHRhY2htZW50cyBhcmUgY29uZmlkZW50aWFsIHRvIHRoZSBp
bnRlbmRlZFxwYXINCnJlY2lwaWVudCBhbmQgbWF5IGFsc28gYmUgcHJpdmlsZWdlZC4gSWYgeW91
IGFyZSBub3QgdGhlIGludGVuZGVkXHBhcg0KcmVjaXBpZW50IHBsZWFzZSBkZWxldGUgaXQgZnJv
bSB5b3VyIHN5c3RlbSBhbmQgbm90aWZ5IHRoZSBzZW5kZXIuXHBhcg0KWW91IHNob3VsZCBub3Qg
Y29weSBpdCBvciB1c2UgaXQgZm9yIGFueSBwdXJwb3NlIG5vciBkaXNjbG9zZSBvclxwYXINCmRp
c3RyaWJ1dGUgaXRzIGNvbnRlbnRzIHRvIGFueSBvdGhlciBwZXJzb24uXHBhcg0KKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KipccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3Ig
VU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KXHBhcg0KfQ=


----boundary-LibPST-iamunique-28409913_-_---
Received on Wed Jun 21 2006 - 16:16:49 UTC

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