|
Post by chriscrawford on Sept 27, 2015 6:49:38 GMT -8
7:49 Tonight is the big lunar eclipse, so I'll be preparing for that, but this morning I hope to get the two classes FrogLizard and FroggerLogger merge.
|
|
|
Post by chriscrawford on Sept 27, 2015 8:43:32 GMT -8
Success! It turns out that the obstacle was the apparently idiotic requirement that the displayed root of the tree contain just one child, and THAT is the operational root of the tree. I now have a tree visible in the display. However, my nodes are misplaced; there is no working "up" command that takes the current working point in the tree up one level to restore previous conditions. So now I have to build an up command.
Facundo had one very clever feature in his code: tacking the results of a calculation onto the label for the calculation. For example, imagine a long calculation. In the simple-minded way that I'm working, the results of the calculation are displayed only at the very end of the script for that calculation. Facundo set things up so that he could obtain the results, then append them to the string describing the beginning of the calculation. That's a very nice touch. I think that I shall have to reproduce it in my code, but it's going to be a bitch, because there can be multiple layers of this, so my code will have to be re-entrant. Yuckers!
|
|