- [CPC] INPUT, INPUT, INPUT - Number Five is ALIVE!

From: Bob Walkden <"Bob>
Date: Thu, 9 Aug 2007 16:58:00 +0100

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

> Here are 3 easy cookbook samples of input data via keyboard and
adding
> numbers.
>
> 1. BasicInput1 - Input via keyboard
> 2. BasicInput2 - Input via selections (see also Wirth's
> programming lesson)
> 3. BasicInput3 - Input via forms using the Blackbox framework
>
> I hope you realise the disadvantage of solution BasicInput1.
>
> Once again I ask: Which input is missing?

as a long-time user of Oberon / Blackbox I find it quite disconcerting
to use BasicInput1 - console input now feels alien to me. I expect
that the reverse is true for people new to Oberon / CP who have not
read Wirth's writings about the framework approach, and who expect to
use modal input followed by <Enter>.

When I first became interested in Oberon in the early 90s (is it
really that old already?) I found the user interface discussion in
Reiser's "The Oberon System" to be extremely useful and eye-opening,
and when I first used an Oberon system I quickly became a big fan of
the approach. But without the book to help me I'm sure I would have
found it difficult to understand. If the text of the book is available
online perhaps a link to it should be posted somewhere for newcomers.

Having said that, it can be a bit annoying in Oberon to have to pick
up the mouse and go back on the text to click a command when it is so
easy with other systems to type it and press <Enter>.

Similarly with Blackbox, it is a bit annoying to have to insert a
commander in the text in order to execute a command.

It might be easier to convince people if Oberon / BB captured the
<Enter> key and parsed backwards from the caret position for a
well-formed command + parameters, then executed it.

Regards,
Bob

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy

----boundary-LibPST-iamunique-1521460390_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCB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N5IHdpdGggb3RoZXIgc3lzdGVtcyB0byB0eXBlIGl0IGFuZCBwcmVzcyA8RW50
ZXI+LiBccGFyDQpccGFyDQpTaW1pbGFybHkgd2l0aCBCbGFja2JveCwgaXQgaXMgYSBiaXQgYW5u
b3lpbmcgdG8gaGF2ZSB0byBpbnNlcnQgYVxwYXINCmNvbW1hbmRlciBpbiB0aGUgdGV4dCBpbiBv
cmRlciB0byBleGVjdXRlIGEgY29tbWFuZC4gXHBhcg0KXHBhcg0KSXQgbWlnaHQgYmUgZWFzaWVy
IHRvIGNvbnZpbmNlIHBlb3BsZSBpZiBPYmVyb24gLyBCQiBjYXB0dXJlZCB0aGVccGFyDQo8RW50
ZXI+IGtleSBhbmQgcGFyc2VkIGJhY2t3YXJkcyBmcm9tIHRoZSBjYXJldCBwb3NpdGlvbiBmb3Ig
YVxwYXINCndlbGwtZm9ybWVkIGNvbW1hbmQgKyBwYXJhbWV0ZXJzLCB0aGVuIGV4ZWN1dGVkIGl0
LlxwYXINClxwYXINClJlZ2FyZHMsXHBhcg0KQm9iXHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94XHBh
cg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJv
bi5jaH19AAAAAAA=


----boundary-LibPST-iamunique-1521460390_-_---
Received on Thu Aug 09 2007 - 17:58:00 UTC

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