[BLACKBOX] AW: [BLACKBOX] Using Cyrillic characters with BlackBox 1.6-rc5

From: [at]} <Helmut>
Date: Sun, 27 Jul 2008 17:18:09 +0200

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

Dear Bernhard,

> is it really necessary to have the full unicode set for identifiers
> (e.g module, procedure & global variable names)?

... ach zwei Herzen schlagen in meiner Brust ...

> I think it is a "nice to have feature", at least for exported
> identifiers, but I expect more problems than benefit.

Think about the following topic. You are a teacher. You introduce turtle graphic for beginners. The pupil doesn't speak English. The never wrote a program. Which names would you like to prefer?

  Englisch German Russia
  -------------------- --------------------- -----------------------
  Go (s: REAL); Gehe (schritte: REAL); ???? (??????????: REAL);
  GoTo (x, y: REAL); GeheNach (x, y: REAL); ??????? (x, y: REAL);
  Rotate (angle: REAL); Drehe (umGrad: REAL); ????????? (????: REAL);

  SelectThickPen; Dick; ????????????????;
  SelectThinPen; DŁnn; ???????????????;

  PenUp; StiftHoch; ???????????;
  PenDown; StiftRunter; ????????????;

  OutOfPage(): BOOLEAN; Rand(): BOOLEAN; ????????????(): BOOLEAN;
  WhereX(): REAL; TurtleX(): REAL; ???X(): REAL;
  WhereY(): REAL; TurtleY(): REAL; ???Y(): REAL;

Which names would you like to prefer?

> How do you want handle such names when creating DLLs?

I don't need it with DLL's.

There are a lot of programs written in Russian, e.g. Ilya Ermakov subsystem Lab. (I apologise I don't know if I wrote his name correct.)

Look at http://oberoncore.ru/ -> ??????????

Lab is a grandiose subsystem which makes the life for teachers much easier.
You can write in an odc document the following line (it is an example from using subsystem Lab):
        --------------------------------
        PROCEDURE ???????????????*;
        BEGIN
                ?????????????????(600, 200);
                ????(200); ?????????(90);
                ????(80); ?????????(90);
                ????(200); ?????????(90);
                ????(80)
        END ???????????????;
        --------------------------------
Here is the translation to English:
        --------------------------------
        PROCEDURE DrawingRectangle*;
        BEGIN
                SetPaperSize(600, 200);
                Go(200); Rotate(90);
                Go(80); Rotate(90);
                Go(200); Rotate(90);
                Go(80)
        END DrawingRectangle;
        --------------------------------
After clicking with the mouse on "???????????????*;" or "DrawingRectangle*;" the turtle draws a rectangle. Believe me! You need not to write MODULE, IMPORT and all the other stuff.

Subsystem Lab is written with the Russian version of BB 1.5 It can't compile with standard BB 1.5 & 1.6
 
I have translated the subsystem Lab to English for BB 1.6, but the work is not finished.

???????????????* doesn't work on my translation (only runs with BB1.5ru).
DrawingRectangle* runs on both BB systems.


> It is necessary to support the full Unicode set in texts, i.e.
> comments & documentation, but as I understand it, OMiSys BB 1.6rc5
> has all changes to handle Unicode.

OM support full Unicode set with comments and documentation already in BB version 1.5 and earlier.

BB version 1.6rc5 expands this support to forms.

> PS: I don't know how other programming languages handle this problem
> and what restrictions are put on globally visible identifiers by
> operating systems and/or ABIs. But apparently C# and Java can handle
> Unicode identifiers. There is a document on the net, which tries to
> provide a universal solution (http://unicode.org/reports/tr31/)
> but similar to other universal solutions it appears to be difficult
> to digest.

OM always found a better way to go ...


Regards

Helmut Zinn
http://www.zinnamturm.eu


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-820050339_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fQ0Ke1xmNFxmc3dpc3NcZmNoYXJzZXQyMDQgQXJpYWw7fQ0Ke1xmNVxmc3dpc3NcZmNoYXJz
ZXQxMzQgU2ltU3VuO319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVu
MFxibHVlMjU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DQpccGFyDQo+IFBTOiBJIGRvbid0IGtub3cgaG93IG90aGVyIHByb2dyYW1taW5n
IGxhbmd1YWdlcyBoYW5kbGUgdGhpcyBwcm9ibGVtXHBhcg0KPiBhbmQgd2hhdCByZXN0cmljdGlv
bnMgYXJlIHB1dCBvbiBnbG9iYWxseSB2aXNpYmxlIGlkZW50aWZpZXJzIGJ5XHBhcg0KPiBvcGVy
YXRpbmcgc3lzdGVtcyBhbmQvb3IgQUJJcy4gQnV0IGFwcGFyZW50bHkgQyMgYW5kIEphdmEgY2Fu
IGhhbmRsZVxwYXINCj4gVW5pY29kZSBpZGVudGlmaWVycy4gVGhlcmUgaXMgYSBkb2N1bWVudCBv
biB0aGUgbmV0LCB3aGljaCB0cmllcyB0b1xwYXINCj4gcHJvdmlkZSBhIHVuaXZlcnNhbCBzb2x1
dGlvbiAoaHR0cDovL3VuaWNvZGUub3JnL3JlcG9ydHMvdHIzMS8pXHBhcg0KPiBidXQgc2ltaWxh
ciB0byBvdGhlciB1bml2ZXJzYWwgc29sdXRpb25zIGl0IGFwcGVhcnMgdG8gYmUgZGlmZmljdWx0
XHBhcg0KPiB0byBkaWdlc3QuXHBhcg0KXHBhcg0KT00gYWx3YXlzIGZvdW5kIGEgYmV0dGVyIHdh
eSB0byBnbyAuLi5ccGFyDQpccGFyDQpccGFyDQpSZWdhcmRzIFxwYXINClxwYXINCkhlbG11dCBa
aW5uXHBhcg0KaHR0cDovL3d3dy56aW5uYW10dXJtLmV1XHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxw
YXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxB
Q0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSFxwYXINCn0
----boundary-LibPST-iamunique-820050339_-_---
Received on Sun Jul 27 2008 - 17:18:09 UTC

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