(unknown charset) RE: Boolean expressions

From: (unknown charset) CFB Software <"CFB>
Date: Sat, 2 Oct 2004 09:33:40 +0930

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

> -----Original Message-----
> From: John Stout [mailto:jstout{([at]})nowhere.xy
> Sent: Saturday, 2 October 2004 5:55 AM
> To: blackbox{([at]})nowhere.xy
> Subject: Semi-colon question
>
>
> I teach it as a matter of style, but emphasise it is a matter of style, a
> bit like not writing:
>
> IF aBoolean = TRUE THEN
> END
>

Here's one for your students to chew on. I have seen code as bad as this in
real life.

IF ~(aBoolean = FALSE) THEN
  aBoolean := FALSE
ELSE
  aBoolean := TRUE
END;

Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp

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

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-2136563327_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpc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GwgYmUgbW9kZXJhdGVkIHRvIGF2b2lkIHNwYW0uIFBsZWFzZSB1bmRlcnN0
YW5kIHRoYXQgbW9kZXJhdGlvbiB3aWxsIG9mdGVuIGNhdXNlIHNvbWUgZGVsYXksIGluIHBhcnRp
Y3VsYXIgb3ZlciB3ZWVrZW5kcyBvciBob2x5ZGF5fX0AaCBNaWNy


----boundary-LibPST-iamunique-2136563327_-_---
Received on Sat Oct 02 2004 - 02:03:40 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:35 UTC