Re: [BLACKBOX] Re [BLACKBOX] Seasons Greetings from Linuxland
----boundary-LibPST-iamunique-1806370898_-_-
Content-type: text/plain
I have a program which uses an array, and I defined meaningful labels as constants to help me remember the meaning of each array element. And I placed text fields in a window so I could monitor the contents of the array, and exported the constant labels as well as the array. BUT when I set the link for each text field as "array[labelA]", "array[labelB]", etc., nothing showed up in the text fields. Finally I changed the links to "array[0]", "array[1]", etc. and that worked. The resource compiler part of BlackBox may be a bit rudimentary.
Steve Troy
-------- Original Message --------
Subject: Re: [BLACKBOX] Re [BLACKBOX] Seasons Greetings from Linuxland
From: Wojtek Skulski > The following hypothetical examples are intended to show what a programmer
> could concoct if he has muddled thinking regarding boolean logic [snip]
My own conclusion is that one can write C in any language. One also can
write reasonable code in C. Some languages encourage good attitude while
others just the opposite, but at the end of the day it is the attitude,
which differentiates the masters from their opposites.
Playing devil's advocate, I remember my utter surprise when I read
statements in Project Oberon like "IF mouse = 1 THEN...". The mouse keys
were numbered 1,2,3 (or 0,1,2, don't remember) and these numbers were used
literally in the code published in the book (!!). A bit shameful, was it
not? In later versions the literal constants we replaced with ML, MM, and
MR, as they should have been from the beginning.
Even our gurus have had their bad days.
W.
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
----boundary-LibPST-iamunique-1806370898_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm
c3dpc3NcZmNoYXJzZXQwIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYy
XGZuaWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIg
TmV3O319DQp7XGN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