piclist 1999\10\13\092745a >
Thread: What's in the train? The whole story.
www.piclist.com/techref/index.htm?key=whats+train+whole
flavicon
face BY : Chris Fanning email (remove spam text)



> Dan Larson made a nice picture to illustrate this
>
>
> -----     -----     -----     -----     -----
> |   |---->|   |---->|   |---->|   |---->|   |
> | 7 |     | = |     | 5 |     | + |     | 2 |
> |   |<----|   |<----|   |<----|   |<----|   |
> -----     -----     -----     -----     -----

You wouldn't be able to reorganize this in such a way that:

----------   ----------
|        |   |        |
|    7   |   |    5   |
----------   ----------
       V      V
      ----------
      |        |
      |     +  |
      ----------
             V
      ----------
      | display|
      |     =  |
      ----------

Would you?  This way you would be taking the expression and building
an evaluation tree.  Allows for much more complex expressions.  Maybe
this is more like "comp sci" blocks rather than something simple to
teach basics to children.  But it *really* reduces the coding problem.
No block ID codes, no "who's there" problem.  The blocks only have to
talk to adjacent blocks and pass down the result.

Chris

<199910131326.JAA15603@jingoro.prevmed.sunysb.edu> 7bit

In reply to: <199910130453.AAA49786@mail.rpi.edu> from Azrael at "Oct 13, 1999 0:53:24 am"
See also: www.piclist.com/techref/index.htm?key=whats+train+whole
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) What's in the train? The whole story.

month overview.

new search...