Re: [BLACKBOX] Negation

From: [at]} <Robert>
Date: Fri, 15 Jul 2011 00:36:51 +0100

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

On 14/07/2011 11:13 PM, Wojtek Skulski wrote:
> It is true in any programming language.
>
> W


Yes, but CP does have a negation restriction that many other languages do not share.

If you look at Chris's syntax diagrams you will see that '-' & '~' have
significantly different positions in the structure.

The result is that expressions like --5 are illegal, whereas ~~TRUE is legal.


I don't regard this as a problem, but it does keep you "on guard".


Cheers

Robert






>
>> I just learned that in CP one can not negate an integer type
...
 >> That caught me off guard.
 >> -Doug Danforth


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1698868148_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIE9uIDE0LzA3LzIwMTEgMTE6MTMgUE0sIFdvanRl
ayBTa3Vsc2tpIHdyb3RlOlxwYXINCj4gSXQgaXMgdHJ1ZSBpbiBhbnkgcHJvZ3JhbW1pbmcgbGFu
Z3VhZ2UuXHBhcg0KPlxwYXINCj4gV1xwYXINClxwYXINClxwYXINClllcywgYnV0IENQIGRvZXMg
aGF2ZSBhIG5lZ2F0aW9uIHJlc3RyaWN0aW9uIHRoYXQgbWFueSBvdGhlciBsYW5ndWFnZXMgZG8g
bm90IHNoYXJlLlxwYXINClxwYXINCklmIHlvdSBsb29rIGF0IENocmlzJ3Mgc3ludGF4IGRpYWdy
YW1zIHlvdSB3aWxsIHNlZSB0aGF0ICctJyAmICd+JyBoYXZlIFxwYXINCnNpZ25pZmljYW50bHkg
ZGlmZmVyZW50IHBvc2l0aW9ucyBpbiB0aGUgc3RydWN0dXJlLlxwYXINClxwYXINClRoZSByZXN1
bHQgaXMgdGhhdCBleHByZXNzaW9ucyBsaWtlIC0tNSBhcmUgaWxsZWdhbCwgd2hlcmVhcyB+flRS
VUUgaXMgbGVnYWwuXHBhcg0KXHBhcg0KXHBhcg0KSSBkb24ndCByZWdhcmQgdGhpcyBhcyBhIHBy
b2JsZW0sIGJ1dCBpdCBkb2VzIGtlZXAgeW91ICJvbiBndWFyZCIuXHBhcg0KXHBhcg0KXHBhcg0K
Q2hlZXJzXHBhcg0KXHBhcg0KUm9iZXJ0XHBhcg0KXHBhcg0KXHBhcg0KXHBhcg0KXHBhcg0KXHBh
cg0KXHBhcg0KPlxwYXINCj4+ICAgICAgIEkganVzdCBsZWFybmVkIHRoYXQgaW4gQ1Agb25lIGNh
biBub3QgbmVnYXRlIGFuIGludGVnZXIgdHlwZVxwYXINCi4uLlxwYXINCiA+PiAgICBUaGF0IGNh
dWdodCBtZSBvZmYgZ3VhcmQuXHBhcg0KID4+ICAgIC1Eb3VnIERhbmZvcnRoXHBhcg0KXHBhcg0K
XHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkg
IlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSFxwYXINCn0=
----boundary-LibPST-iamunique-1698868148_-_---
Received on Fri Jul 15 2011 - 01:36:51 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:12 UTC