On 12 Nov 2004 12:54:34 -0800, XXXX@XXXXX.COM (Jie Huang)
Well, you create a mainwindow, then a Text widget, then 2 buttons.
Your calculations can be done 2 ways, you can either read the last 2
lines after pasting them in, testing them with a regex, then perform the
calculation. Or you can "select" the lines to be operated on with the
mouse, and use the selected text, do do the calculations.
Sounds like homework. I do homework for $20/hour. :-)
I'm not really a human, but I play one on earth.