----boundary-LibPST-iamunique-1267362632_-_-
Content-type: text/plain
> -----Original Message-----
> From: H. v. L. [mailto:hvl{([at]})nowhere.xy> Sent: Thursday, 16 September 2004 4:12 PM
> To: blackbox{([at]})nowhere.xy> Subject: (No subject header)
>
>
> Everything written on CAP after my message is right - somehow.
>
> But there is one aspect not yet considered, Chris Burrows
> argues that
> "characters 2 and blank, as used in your example, are not Latin-1
> 'letters'".
>
> In the same sense the majority of the characters ORD(32) to
> ORD(64) are
> not Latin-1 'letters'. But these 'letters' are mapped to
> ORD(0) to ORD(31)
> by CAP.
> And these are reserved characters used by the system which
> should not be
> tampered with by such a simple function like CAP, and I do
> not want to
> check every use of it with something like:
> IF ( ch >= "a" ) & ( ch <= "z" ) THEN ...
> I judge the actual behaviour dangerous and it seems to be safer to
> eliminate CAP completely instead of keeping it as it is.
>
This issue was also discussed several years ago in the comp.lang.oberon
newsgroup. Check for the following link for some more observations:
http://tinyurl.com/4yvb5
As I said in my reply to Gerard - my recommendation is: if you need
ultimate performance use CAP but take care only to use it with
*letters*. If safety is a concern rather than speed use Strings.Upper.
The choice is yours.
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-1267362632_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwX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